ossp-pkg/as/as-gui/as_slot.cpp 1.9 -> 1.10
--- as_slot.cpp 2002/11/22 21:14:27 1.9
+++ as_slot.cpp 2002/11/22 21:51:58 1.10
@@ -52,8 +52,7 @@
void Titraqform::newDoc(void)
{
// The only way in Qt 3.X to clear rows efficiently
- m_pMaintable->setNumRows(0); // Get rid of any data in table
- m_pMaintable->setNumRows(1); // ...and then add them back in
+ m_pMaintable->setNumRows(0); // Get rid of any data in table
}
//
@@ -61,7 +60,7 @@
//
void Titraqform::chooseFile(void)
{
- QString Filestring = QFileDialog::getOpenFileName("/export/home/mschloh/tmp/bifftest/ms.txt", QString::null, this, trUtf8("Chooser Dialog"), trUtf8("Choose a file to open"));
+ QString Filestring = QFileDialog::getOpenFileName("/e/dev/as", QString::null, this, trUtf8("Chooser Dialog"), trUtf8("Choose a file to open"));
if (!Filestring.isEmpty()) {
m_pMaintable->setNumRows(0); // Clear out old data
QFile Filetemp(Filestring); // File to load
|
|