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
Education
Kiten
Commits
48ce6976
Commit
48ce6976
authored
Jan 02, 2022
by
Nicolas Fella
Browse files
Use Breeze QStyle on Windows
It looks and works much better than the default style
parent
5ce1986c
Pipeline
#117448
passed with stage
in 50 seconds
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
app/main.cpp
View file @
48ce6976
...
...
@@ -54,6 +54,10 @@ int main( int argc, char *argv[] )
aboutData
.
setOrganizationDomain
(
"kde.org"
);
//Set this for the DBUS ID
app
.
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
,
true
);
#ifdef Q_OS_WIN
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
#endif
KCrash
::
initialize
();
QCommandLineParser
parser
;
...
...
kanjibrowser/main.cpp
View file @
48ce6976
...
...
@@ -40,6 +40,10 @@ int main( int argc, char **argv )
about
.
setOrganizationDomain
(
"kde.org"
);
KAboutData
::
setApplicationData
(
about
);
#ifdef Q_OS_WIN
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
#endif
if
(
app
.
isSessionRestored
()
)
{
...
...
radselect/main.cpp
View file @
48ce6976
...
...
@@ -37,6 +37,10 @@ int main( int argc, char **argv )
parser
.
process
(
app
);
about
.
processCommandLine
(
&
parser
);
#ifdef Q_OS_WIN
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
#endif
// see if we are starting with session management
if
(
app
.
isSessionRestored
()
)
{
...
...
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