OSSP CVS Repository

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

ossp-pkg/as/as-gui/as_assist.cpp 1.64 -> 1.65

--- as_assist.cpp        2002/12/12 21:24:07     1.64
+++ as_assist.cpp        2002/12/13 17:44:42     1.65
@@ -675,9 +675,10 @@
         throw Genexcept("Main window start time creation failed."); // Spew errors
 
     // Configure attributes
+    m_pStarttime->setDisplay(QTimeEdit::Hours | QTimeEdit::Minutes);
     m_pStarttime->setAutoAdvance(true);
 
-    m_pEditlayout->addWidget(m_pStarttime);                      // Finally add the start editor
+    m_pEditlayout->addWidget(m_pStarttime);                         // Finally add the start editor
     QToolTip::add(m_pStarttime, trUtf8("Task Starting Time"));
 
     // Whatsthis info for the time editor
@@ -688,10 +689,14 @@
 
     // Make the end time selector
     m_pEndtime = new QTimeEdit(m_pCenframe, "EndTime");
-    if (m_pEndtime == NULL)                                        // Sanity check
-        throw Genexcept("Main window end time creation failed.");  // Spew errors
+    if (m_pEndtime == NULL)                                         // Sanity check
+        throw Genexcept("Main window end time creation failed.");   // Spew errors
 
-    m_pEditlayout->addWidget(m_pEndtime);                       // Finally add the end editor
+    // Configure attributes
+    m_pEndtime->setDisplay(QTimeEdit::Hours | QTimeEdit::Minutes);
+    m_pEndtime->setAutoAdvance(true);
+
+    m_pEditlayout->addWidget(m_pEndtime);                           // Finally add the end editor
     QToolTip::add(m_pEndtime, trUtf8("Task Ending Time"));
 
     // Whatsthis info for the time editor

CVSTrac 2.0.1