GUI: Notify user the compare is ready if main window is inactive.

This commit is contained in:
Kimmo Varis 2009-06-20 23:23:54 +03:00
parent 5643d816cf
commit 71aa189efb
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,7 @@
#include "mainwindow.h" #include "mainwindow.h"
#include <QApplication>
#include <QDebug> #include <QDebug>
#include <QMenu> #include <QMenu>
#include <QDirIterator> #include <QDirIterator>
@ -355,6 +356,9 @@ void MainWindow::CheckDone()
mActionClearResults.setEnabled(true); mActionClearResults.setEnabled(true);
mActionSave.setEnabled(true); mActionSave.setEnabled(true);
} }
// Notify user - if the window is not active - that check is ready
QApplication::alert(this, 3000);
} }
void MainWindow::ProgramSettings() void MainWindow::ProgramSettings()