Check-in Number:
|
2871 | |
Date: |
2002-Nov-22 22:51:58 (local)
2002-Nov-22 21:51:58 (UTC) |
User: | ms |
Branch: | |
Comment: |
Some final fine tunes before putting the pig to bed. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/as/as-gui/as_dataop.cpp 1.4 -> 1.5
--- as_dataop.cpp 2002/11/22 21:14:27 1.4
+++ as_dataop.cpp 2002/11/22 21:51:58 1.5
@@ -75,10 +75,9 @@
}
m_pMaintable->setUpdatesEnabled(true); // Repaint all
- m_pMaintable->setNumRows(i); // Trim unneeded rows
- m_pMaintable->repaint(); // Force repaint
+ m_pMaintable->setNumRows(i - 1); // Trim unneeded rows
m_pRemark->setText(trUtf8("Loaded text goes here"));
- m_pRemark->setEdited(false); // Reset widget
+ m_pRemark->setEdited(false); // Reset widget
if (!bValid)
throw Genexcept("Warning, invalid accounting data.");
|
|
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
|
|