Make FileWatcher more robust, fix a few bugs in that code.

Also cache a lastModified time, so that we don't emit a signal if it
didn't change.
This commit is contained in:
dt
2009-07-07 15:26:56 +02:00
parent 77959c8bc5
commit e2a06db32e
3 changed files with 34 additions and 20 deletions

View File

@@ -304,7 +304,6 @@ bool MainWindow::init(QString *errorMessage)
OutputPanePlaceHolder *oph = new OutputPanePlaceHolder(m_outputMode);
oph->setCloseable(false);
outputModeWidget->layout()->addWidget(oph);
oph->setVisible(true);
outputModeWidget->layout()->addWidget(new Core::FindToolBarPlaceHolder(m_outputMode));
outputModeWidget->setFocusProxy(oph);