ossp-pkg/as/as-gui/as_slot.cpp 1.21 -> 1.22
--- as_slot.cpp 2002/11/26 21:18:48 1.21
+++ as_slot.cpp 2002/11/26 22:22:53 1.22
@@ -13,6 +13,7 @@
#include "gfx/cwlogo.xpm" // static const char *s_kpcCwlogo_xpm[]
#include "gfx/ossplogo.xpm" // static const char *s_kpcOssplogo_xpm[]
+
//
// Cut an entry
//
@@ -75,7 +76,7 @@
//
void Titraqform::newDoc(void)
{
- m_pMaintable->setNumRows(0); // Get rid of any data in table
+ m_pMaintable->setNumRows(0); // Get rid of any data in table
}
//
@@ -200,7 +201,7 @@
if (!Textdate.isEmpty())
m_pDateedit->setDate(QDate::fromString(Textdate, Qt::ISODate));
else
- m_pDateedit->setDate(QDate::currentDate());
+ m_pDateedit->setDate(*m_pDatezero);
if (!Textstart.isEmpty())
m_pStarttime->setTime(QTime::fromString(Textstart, Qt::ISODate));
|
|