diff options
-rw-r--r-- | src/server/main.cpp | 10 | ||||
-rw-r--r-- | src/shared/settings.h | 3 |
2 files changed, 1 insertions, 12 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(); } diff --git a/src/shared/settings.h b/src/shared/settings.h index 7b1fc3c..2713693 100644 --- a/src/shared/settings.h +++ b/src/shared/settings.h @@ -2,12 +2,11 @@ #define _SETTINGS_H_ #include <QString> -#include <QStringList> #define CLIENT_PORT 5194 static const QString CLIENT_PORT_STR(QString::number(CLIENT_PORT)); static const QByteArray CLIENT_PORT_ARRAY(QString::number(CLIENT_PORT).toUtf8()); -static const QStringList PREFERRED_STYLES(QStringList() << "GTK+" << "Motif" << "Plastique" << "Windows"); + #define SERVICE_DISCOVERY_PORT 3492 #define PING_TIMEOUT_MS 30000 |