OSSP CVS Repository

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

ossp-pkg/as/as-gui/as_slot.cpp 1.73 -> 1.74

--- as_slot.cpp  2002/12/19 20:46:26     1.73
+++ as_slot.cpp  2002/12/20 15:13:52     1.74
@@ -262,14 +262,7 @@
     this->setCaption(trUtf8("No file name"));
     m_pStatbar->message(trUtf8("New document"), 4000);
     this->setFilename("");
-
-    // Reset widget text of edit controls
-    m_pDateedit->setDate(*m_pDatezero);
-    m_pStarttime->setTime(QTime::QTime(0, 0));
-    m_pEndtime->setTime(QTime::QTime(0, 0));
-    m_pAmount->setText(NULL);
-    m_pTasks->setCurrentText(NULL);
-    m_pRemark->setText(NULL);
+    this->updEdit(0, 0);                // Update edit controls
 }
 
 //

CVSTrac 2.0.1