Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Data Exporter
Commits
e4c8ffc9
Commit
e4c8ffc9
authored
Jun 06, 2019
by
Laurent Montel
😁
Browse files
Fix initialize Qt::AA_EnableHighDpiScaling attribute
parent
0e5f723a
Changes
1
Hide whitespace changes
Inline
Side-by-side
gui/main.cpp
View file @
e4c8ffc9
...
...
@@ -30,13 +30,13 @@
int
main
(
int
argc
,
char
*
argv
[])
{
QCoreApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
,
true
);
QApplication
app
(
argc
,
argv
);
KLocalizedString
::
setApplicationDomain
(
"pimsettingexporter"
);
KCrash
::
initialize
();
app
.
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
app
.
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
app
.
setDesktopFileName
(
QStringLiteral
(
"org.kde.pimsettingexporter"
));
Kdelibs4ConfigMigrator
migrate
(
QStringLiteral
(
"pimsettingexporter"
));
migrate
.
setConfigFiles
(
QStringList
()
<<
QStringLiteral
(
"pimsettingexporterrc"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment