diff options
| author | Tannin <devnull@localhost> | 2015-01-11 11:14:58 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-01-11 11:14:58 +0100 |
| commit | 9f09c30e0825c38dfa214f01cc381469b89e1c80 (patch) | |
| tree | 3421a7e9170a5f4cb4f96a88f92e12586a1cf84f /src/mainwindow.cpp | |
| parent | caf31e72cc3f7d607bcc1b53c7c179895cdd6ecf (diff) | |
bugfix: translations for some plugins weren't loaded
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index fb9fede3..63598d27 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -4395,7 +4395,12 @@ void MainWindow::languageChange(const QString &newLanguage) if (fileNameVariant.isValid()) { QString fileName = QFileInfo(fileNameVariant.toString()).baseName(); installTranslator(fileName); + } else { + qWarning("no filename set for %s", qPrintable(plugin->name())); } + } else { + // this may be caused by the plugin not publicly deriving from one of its bases + qWarning("no plugin object for %s", qPrintable(plugin->name())); } } |
