Commit e71cf018 authored by Sébastien Blin's avatar Sébastien Blin

theme: use default gtk theme if on GNU/Linux

Issue: #515
Change-Id: Ia9ffc2d2bc1e15664299441c132aa9934e6fb26d
parent 715e4281
......@@ -121,6 +121,11 @@ main(int argc, char* argv[])
SetProcessDPIAware();
#endif // Q_OS_WIN
#ifdef Q_OS_LINUX
if (!getenv("QT_QPA_PLATFORMTHEME"))
setenv("QT_QPA_PLATFORMTHEME", "gtk3", true);
#endif
QApplication a(newArgc, newArgv);
QCoreApplication::setApplicationName("Ring");
......
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