mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
commit
a5a757a43d
|
@ -1868,7 +1868,7 @@ bool QupZilla::restoreState(const QByteArray &state, int version)
|
|||
|
||||
return QMainWindow::restoreState(windowState, version);
|
||||
#else
|
||||
return QMainWindow::restoreState(windowState, version);
|
||||
return QMainWindow::restoreState(state, version);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ bool PIM_Plugin::testPlugin()
|
|||
|
||||
QTranslator* PIM_Plugin::getTranslator(const QString &locale)
|
||||
{
|
||||
QTranslator* translator = new QTranslator();
|
||||
QTranslator* translator = new QTranslator(this);
|
||||
translator->load(locale, ":/PIM/locale/");
|
||||
return translator;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user