fixed status bar messages (were cleared by periodic100 every 100ms)

This commit is contained in:
dockes 2009-01-28 17:21:32 +00:00
parent 39ceaab207
commit a029ca8699

View File

@ -376,7 +376,6 @@ void RclMain::periodic100()
// Check if indexing thread done // Check if indexing thread done
if (idxthread_getStatus() != IDXTS_NULL) { if (idxthread_getStatus() != IDXTS_NULL) {
// Indexing is stopped // Indexing is stopped
statusBar()->message("");
fileToggleIndexingAction->setText(tr("Update &Index")); fileToggleIndexingAction->setText(tr("Update &Index"));
fileToggleIndexingAction->setEnabled(TRUE); fileToggleIndexingAction->setEnabled(TRUE);
if (m_idxStatusAck == false) { if (m_idxStatusAck == false) {
@ -430,7 +429,7 @@ void RclMain::periodic100()
mf = url_encode(status.fn, 0); mf = url_encode(status.fn, 0);
} }
msg += QString::fromUtf8(mf.c_str()); msg += QString::fromUtf8(mf.c_str());
statusBar()->message(msg); statusBar()->message(msg, 4000);
} else if (toggle == 9) { } else if (toggle == 9) {
statusBar()->message(""); statusBar()->message("");
} }
@ -992,8 +991,6 @@ void RclMain::startManual()
void RclMain::startManual(const string& index) void RclMain::startManual(const string& index)
{ {
QString msg = tr("Starting html help browser ");
statusBar()->message(msg, 3000);
Rcl::Doc doc; Rcl::Doc doc;
doc.url = "file://"; doc.url = "file://";
doc.url = path_cat(doc.url, rclconfig->getDatadir()); doc.url = path_cat(doc.url, rclconfig->getDatadir());