Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect
Commits
bafec85d
Commit
bafec85d
authored
Apr 02, 2022
by
Nicolas Fella
Browse files
Enable highdpi for all executables
(cherry picked from commit
12d8adef
)
parent
e3aa3acc
Pipeline
#158471
passed with stage
in 2 minutes and 7 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/main.cpp
View file @
bafec85d
...
...
@@ -21,6 +21,8 @@
int
main
(
int
argc
,
char
*
argv
[])
{
QIcon
::
setFallbackThemeName
(
QStringLiteral
(
"breeze"
));
QGuiApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QGuiApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QApplication
app
(
argc
,
argv
);
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"kdeconnect"
)));
...
...
daemon/kdeconnectd.cpp
View file @
bafec85d
...
...
@@ -127,9 +127,10 @@ static void detectPlatform(int argc, char **argv)
int
main
(
int
argc
,
char
*
argv
[])
{
detectPlatform
(
argc
,
argv
);
QGuiApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QGuiApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QApplication
app
(
argc
,
argv
);
app
.
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
KAboutData
aboutData
(
QStringLiteral
(
"kdeconnect.daemon"
),
i18n
(
"KDE Connect Daemon"
),
...
...
indicator/main.cpp
View file @
bafec85d
...
...
@@ -33,9 +33,10 @@
int
main
(
int
argc
,
char
**
argv
)
{
QIcon
::
setFallbackThemeName
(
QStringLiteral
(
"breeze"
));
QGuiApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QGuiApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QApplication
app
(
argc
,
argv
);
app
.
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
KAboutData
about
(
QStringLiteral
(
"kdeconnect-indicator"
),
i18n
(
"KDE Connect Indicator"
),
QStringLiteral
(
KDECONNECT_VERSION_STRING
),
...
...
settings/main.cpp
View file @
bafec85d
...
...
@@ -18,6 +18,8 @@
int
main
(
int
argc
,
char
**
argv
)
{
QIcon
::
setFallbackThemeName
(
QStringLiteral
(
"breeze"
));
QGuiApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QGuiApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QApplication
app
(
argc
,
argv
);
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"kdeconnect"
)));
...
...
smsapp/main.cpp
View file @
bafec85d
...
...
@@ -28,7 +28,8 @@ int main(int argc, char *argv[])
{
QIcon
::
setFallbackThemeName
(
QStringLiteral
(
"breeze"
));
QApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QGuiApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QGuiApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QApplication
app
(
argc
,
argv
);
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"kdeconnect"
)));
KAboutData
aboutData
(
QStringLiteral
(
"kdeconnect.sms"
),
...
...
urlhandler/kdeconnect-handler.cpp
View file @
bafec85d
...
...
@@ -36,7 +36,8 @@
int
main
(
int
argc
,
char
**
argv
)
{
QApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QGuiApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QGuiApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QApplication
app
(
argc
,
argv
);
app
.
setWindowIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"kdeconnect"
)));
const
QString
description
=
i18n
(
"KDE Connect URL handler"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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