From dbeba838ea813b620ec571265c8ea417403fc81c Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 12 Apr 2011 14:45:24 +0200 Subject: 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 --- pacman-c++/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pacman-c++/client.cpp') 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) { GOOGLE_PROTOBUF_VERIFY_VERSION; - QApplication app(argc, argv); + QApplication app(argc, argv, true); app.setOrganizationName("TU Wien FOOP"); app.setApplicationName("Pacman Client"); app.setWindowIcon(QIcon(":/appicon")); -- cgit v1.2.3