fix Qt Database error message when close the app

This commit is contained in:
doitux committed 2010-07-13 19:34:05 +00:00
1 parent b34dcdc597
commit 95da669f91
3 files changed
+5 -9

No files matched your search

+1 -2
View File
@@ -941,10 +941,9 @@ QString startWindowImpl::checkForFirstStartAfterUpdated()
bool startWindowImpl::eventFilter(QObject *obj, QEvent *event)
{
if (event->type() == QEvent::Close) {
event->ignore();
myGuiInterface->getMyLog()->closeLogDb();
myGuiInterface->getMyLog()->closeLogDbAtExit();
return QMainWindow::eventFilter(obj, event);
}
else {