Commit 556dd1c7 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[keditfiletype] Enable high dpi pixmaps

Ensure pixmaps are crisp on high dpi screens

Differential Revision: https://phabricator.kde.org/D9849
parent 3e33d36f
......@@ -128,6 +128,7 @@ void FileTypeDialog::slotDatabaseChanged(const QStringList& changedResources)
int main(int argc, char ** argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QApplication::setWindowIcon(QIcon::fromTheme("preferences-desktop-filetype-association"));
KAboutData aboutData( "keditfiletype", i18n("File Type Editor"), PROJECT_VERSION,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment