Skip to content

Commit

Permalink
Try force load vista style (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
variar committed Sep 25, 2020
1 parent 58fcb34 commit 3efdcad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,13 @@ int main( int argc, char* argv[] )

KloggApp app( argc, argv );

#ifdef Q_OS_WIN
QPluginLoader vistaStyleLoader{ "styles/qwindowsvistastyle.dll" };
if ( vistaStyleLoader.load() ) {
LOG( logINFO ) << "Loaded qwindowsvistastyle";
}
#endif

// Configuration

CliParameters parameters;
Expand Down

0 comments on commit 3efdcad

Please # to comment.