summaryrefslogtreecommitdiffstats
path: root/src/server/main.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2018-08-02 17:12:06 +0200
committerSimon Rettberg2018-08-02 17:12:06 +0200
commit28f2fcf4e38d30c4bdb3fcf141a7f42e9a16019f (patch)
tree4144113ddcc9816b0a78b3972a129cb23a4f2448 /src/server/main.cpp
parent[server] Fix client frame placement bug (diff)
downloadpvs2-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/main.cpp')
-rw-r--r--src/server/main.cpp10
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();
}