summaryrefslogtreecommitdiffstats
path: root/pacman-c++/client.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++/client.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++/client.cpp')
-rw-r--r--pacman-c++/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/client.cpp b/pacman-c++/client.cpp
index 3d45ebd..4843d95 100644
--- a/pacman-c++/client.cpp
+++ b/pacman-c++/client.cpp
@@ -69,7 +69,7 @@ int main(int argc, char ** argv)
69{ 69{
70 GOOGLE_PROTOBUF_VERIFY_VERSION; 70 GOOGLE_PROTOBUF_VERIFY_VERSION;
71 71
72 QApplication app(argc, argv); 72 QApplication app(argc, argv, true);
73 app.setOrganizationName("TU Wien FOOP"); 73 app.setOrganizationName("TU Wien FOOP");
74 app.setApplicationName("Pacman Client"); 74 app.setApplicationName("Pacman Client");
75 app.setWindowIcon(QIcon(":/appicon")); 75 app.setWindowIcon(QIcon(":/appicon"));