Commit 48ce6976 authored by Nicolas Fella's avatar 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
......@@ -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;
......
......@@ -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() )
{
......
......@@ -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() )
{
......
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