Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SDK
Kompare
Commits
d4414005
Commit
d4414005
authored
Nov 13, 2020
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set Qt::AA_UseHighDpiPixmaps before app instance creation
NO_CHANGELOG
parent
d5e62679
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.cpp
main.cpp
+2
-2
No files found.
main.cpp
View file @
d4414005
...
...
@@ -50,6 +50,8 @@
*/
int
main
(
int
argc
,
char
*
argv
[])
{
QApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
QApplication
app
(
argc
,
argv
);
KLocalizedString
::
setApplicationDomain
(
"kompare"
);
...
...
@@ -69,8 +71,6 @@ int main(int argc, char* argv[])
KAboutData
::
setApplicationData
(
aboutData
);
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"kompare"
),
app
.
windowIcon
()));
app
.
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
QCommandLineParser
parser
;
aboutData
.
setupCommandLine
(
&
parser
);
parser
.
addOption
(
QCommandLineOption
(
QStringLiteral
(
"c"
),
i18n
(
"This will compare URL1 with URL2"
)));
...
...
Write
Preview
Markdown
is supported
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