diff options
| author | 2015-01-30 17:00:07 -0500 | |
|---|---|---|
| committer | 2015-01-30 17:00:07 -0500 | |
| commit | 016003905ca0e8e459e3dc33e786beda8ec92f45 (patch) | |
| tree | 34aba2d2e0d66fbf2c3821ee8358f56e40c4c95e /SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp | |
| parent | 724c012ada23ef480c61fe99e3c9784b91aeb1ca (diff) | |
Imported Upstream version 3.0.2upstream/3.0.2
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp')
| -rw-r--r-- | SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp b/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp index 7dbde8c..bc492df 100644 --- a/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp +++ b/SQLiteStudio3/guiSQLiteStudio/mainwindow.cpp @@ -147,6 +147,8 @@ void MainWindow::init() widgetCover->getContainerLayout()->addWidget(updatingSubBar, 2, 0); connect(UPDATES, SIGNAL(updatingProgress(QString,int,int)), this, SLOT(handleUpdatingProgress(QString,int,int))); connect(UPDATES, SIGNAL(updatingError(QString)), this, SLOT(handleUpdatingError())); + + connect(CFG_CORE.General.Language, SIGNAL(changed(QVariant)), this, SLOT(notifyAboutLanguageChange())); } void MainWindow::cleanUp() @@ -195,6 +197,11 @@ void MainWindow::updateWindowActions() actionMap[RESTORE_WINDOW]->setEnabled(hasClosedWindowToRestore()); } +void MainWindow::notifyAboutLanguageChange() +{ + notifyInfo(tr("You need to restart application to make the language change take effect.")); +} + MdiArea *MainWindow::getMdiArea() const { return dynamic_cast<MdiArea*>(ui->mdiArea); |
