Small fixes in Application.

This commit is contained in:
Felix Geyer 2012-05-21 22:11:26 +02:00
parent b5249d196d
commit 76eb935024
3 changed files with 6 additions and 12 deletions

View file

@ -53,7 +53,7 @@ int main(int argc, char** argv)
MainWindow mainWindow;
mainWindow.show();
QObject::connect(&app, SIGNAL(openDatabase(QString)), &mainWindow, SLOT(openDatabase(QString)));
QObject::connect(&app, SIGNAL(openFile(QString)), &mainWindow, SLOT(openDatabase(QString)));
if (!filename.isEmpty()) {
mainWindow.openDatabase(filename, password, QString());