diff options
Diffstat (limited to 'src/cprquerydialog.cc')
-rw-r--r-- | src/cprquerydialog.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/cprquerydialog.cc b/src/cprquerydialog.cc index 0da4101..c683cf4 100644 --- a/src/cprquerydialog.cc +++ b/src/cprquerydialog.cc @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.12 2005/05/23 19:30:36 deva + * Made some cleanup in the status bar. + * * Revision 1.11 2005/05/23 18:08:02 deva * Name is now overwritten if non-valid cpr is used. * @@ -366,7 +369,7 @@ void CPRQueryDialog::cprSocket_error(int errnum) break; } - if(statusbar) statusbar->message(msg); + if(statusbar) statusbar->message(msg, 5000); MessageBox(this, "Fejl", msg, TYPE_OK, ICON_ERROR).exec(); accept(); } @@ -387,7 +390,7 @@ void CPRQueryDialog::cprSocket_readyRead() if (!cprSocket->canReadLine()) return; QString msg = QString("Recieving name from cpr database..."); - if(statusbar) statusbar->message(msg); + if(statusbar) statusbar->message(msg, 5000); timer->stop(); while(cprSocket->canReadLine()) { @@ -428,7 +431,7 @@ void CPRQueryDialog::cprSocket_readyRead() void CPRQueryDialog::cprSocket_connected() { QString msg = QString("Connected to cpr database, sending cpr number..."); - if(statusbar) statusbar->message(msg); + if(statusbar) statusbar->message(msg, 5000); timer->stop(); cprSocket->writeBlock(internalCpr, 10); @@ -466,7 +469,7 @@ void CPRQueryDialog::cprSocket_timeout() break; } - if(statusbar) statusbar->message(msg); + if(statusbar) statusbar->message(msg, 5000); MessageBox(this, "Fejl", msg, TYPE_OK, ICON_ERROR).exec(); accept(); } |