From efcc1ef465199477fb9fc3bb312d15bd721cafab Mon Sep 17 00:00:00 2001 From: jnex Date: Mon, 22 Jun 2015 10:36:42 +0200 Subject: [PATCH] Use 'gtk' as default visual style on Linux --- app/src/app/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/app/main.cpp b/app/src/app/main.cpp index c1fc3741..7d8e888d 100644 --- a/app/src/app/main.cpp +++ b/app/src/app/main.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include @@ -62,6 +63,11 @@ int main(int argc, char *argv[]) d += "/sb"; fab::postInit(d.toStdString().c_str()); + // Use 'gtk' as default visual style on Linux +#if defined Q_OS_LINUX + a.setStyle(QStyleFactory::create("gtk")); +#endif + // Check to make sure that the fab module exists PyObject* fab = PyImport_ImportModule("fab"); if (!fab)