Commit 824a3d60 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Change the main QStyle of the application for windows

parent ebb5a5b0
......@@ -48,6 +48,11 @@ int main( int argc, char **argv )
QSettings::setDefaultFormat( QSettings::IniFormat );
Preferences::changeLang( QSettings().value( "Lang" ).toString() );
#ifdef Q_OS_WIN
// Ugly workaround
app.setStyle( "plastique" );
#endif
// Creating the color palette
QPalette p;
p.setColor( QPalette::WindowText, QColor( 255, 255, 255, 255 ) );
......
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