OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_assist.cpp versions 1.57 and 1.58
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_assist.cpp 1.57 -> 1.58

--- as_assist.cpp        2002/12/12 12:19:48     1.57
+++ as_assist.cpp        2002/12/12 12:45:46     1.58
@@ -390,9 +390,9 @@
 }
 
 //
-// Construct the file tool bar
+// Construct the tool bars
 //
-void Titraqform::setupFiletools(void)
+void Titraqform::setupToolbars(void)
 {
     // Construct and populate the file tool bar
     m_pFiletools = new QToolBar("Toolfile", this, DockTop);
@@ -797,4 +797,17 @@
         showTaskcol();
     if (!m_pPrefs->getBool(TITRAQ_PREFREMCOL, TITRAQ_DEFREMCOL))
         showRemarkcol();
+
+    if (!m_pPrefs->getBool(TITRAQ_PREFFILEBAR, TITRAQ_DEFFILEBAR)) {
+        m_pFiletools->hide();
+        m_pTbarspopup->setItemChecked(m_pTbarspopup->idAt(TITRAQ_IDXFILEBAR), false);
+    }
+    if (!m_pPrefs->getBool(TITRAQ_PREFEDITBAR, TITRAQ_DEFEDITBAR)) {
+        m_pEdittools->hide();
+        m_pTbarspopup->setItemChecked(m_pTbarspopup->idAt(TITRAQ_IDXEDITBAR), false);
+    }
+    if (!m_pPrefs->getBool(TITRAQ_PREFWHATBAR, TITRAQ_DEFWHATBAR)) {
+        m_pWhatstools->hide();
+        m_pTbarspopup->setItemChecked(m_pTbarspopup->idAt(TITRAQ_IDXWHATBAR), false);
+    }
 }

CVSTrac 2.0.1