Fix kwin_rules_dialog not showing translated strings

BUGS: 427172
This commit is contained in:
Albert Astals Cid 2020-10-01 00:28:10 +02:00
parent abca052004
commit 743b06d3a1

View file

@ -190,6 +190,9 @@ static void edit(const QVariantMap &data, bool whole_app)
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("kcm_kwinrules");
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setApplicationDisplayName(i18n("KWin"));
app.setApplicationName("kwin_rules_dialog");