diff options
author | Simon Rettberg | 2018-08-02 17:12:06 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-08-02 17:12:06 +0200 |
commit | 28f2fcf4e38d30c4bdb3fcf141a7f42e9a16019f (patch) | |
tree | 4144113ddcc9816b0a78b3972a129cb23a4f2448 /src/server | |
parent | [server] Fix client frame placement bug (diff) | |
download | pvs2-28f2fcf4e38d30c4bdb3fcf141a7f42e9a16019f.tar.gz pvs2-28f2fcf4e38d30c4bdb3fcf141a7f42e9a16019f.tar.xz pvs2-28f2fcf4e38d30c4bdb3fcf141a7f42e9a16019f.zip |
Revert "[shared/server] define preferred styles and enable it if supported"
Pointless code!? Makes theme look ugly with Qt5 at least with no
apparent advantage whatsoever.
This reverts commit 7cf83493fdaca88fd3dbc736d5ca9d86dd7f9e83.
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/server/main.cpp b/src/server/main.cpp index 769fedb..f804c1a 100644 --- a/src/server/main.cpp +++ b/src/server/main.cpp @@ -1,7 +1,6 @@ #include <iostream> #include <stdlib.h> #include "mainwindow/mainwindow.h" -#include "../shared/settings.h" #include "serverapp/serverapp.h" using std::cout; @@ -36,14 +35,5 @@ int main(int argc, char** argv) } } - QStringList supportedStyles = QStyleFactory::keys(); - for (QString style : PREFERRED_STYLES) { - if (supportedStyles.contains(style)) { - qDebug() << "Setting style to: " << style; - app.setStyle(style); - break; - } - } - return app.exec(); } |