~jpalecek-u/mnemosyne-proj/mnemosyne-proj

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/pyqt_ui/qt_translator.py

Merge upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        self.qt_translator.load(os.path.join(self.qt_dir, "translations",
43
43
            "qt_" + language + ".qm"))
44
44
        app.installTranslator(self.qt_translator)
45
 
        # Workaround for Qt bug?
46
 
        self.main_widget().setWindowTitle(self("Mnemosyne"))
 
45
        # The title can also contain the database name.
 
46
        self.controller().update_title()
47
47