summaryrefslogtreecommitdiffstats
path: root/pacman-c++/server.cpp
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-12 14:45:24 +0200
committermanuel <manuel@mausz.at>2011-04-12 14:45:24 +0200
commitdbeba838ea813b620ec571265c8ea417403fc81c (patch)
treecf085b766ba8dad8146190dc7f438160b839feb4 /pacman-c++/server.cpp
parentb695f67ef718724144a3a5c4be42be373b0f691f (diff)
downloadfoop-dbeba838ea813b620ec571265c8ea417403fc81c.tar.gz
foop-dbeba838ea813b620ec571265c8ea417403fc81c.tar.bz2
foop-dbeba838ea813b620ec571265c8ea417403fc81c.zip
make the server a non gui application
this required a lot of reorganization: - don't create ANY pixmaps. that requires QtGui - don't create and QtWidgets - thus SceneHolder is now a QGraphisScene itself - and MainWidgets is a QWidget having SceneHolder as member variable
Diffstat (limited to 'pacman-c++/server.cpp')
-rw-r--r--pacman-c++/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/server.cpp b/pacman-c++/server.cpp
index c33c559..9a7b188 100644
--- a/pacman-c++/server.cpp
+++ b/pacman-c++/server.cpp
@@ -233,7 +233,7 @@ int main(int argc, char ** argv)
233{ 233{
234 GOOGLE_PROTOBUF_VERIFY_VERSION; 234 GOOGLE_PROTOBUF_VERIFY_VERSION;
235 235
236 QApplication app(argc, argv); 236 QApplication app(argc, argv, false);
237 app.setApplicationName("Pacman Server"); 237 app.setApplicationName("Pacman Server");
238 app.setWindowIcon(QIcon(":/appicon")); 238 app.setWindowIcon(QIcon(":/appicon"));
239 239