From a212e5c037df32b2206385d1f1b009def2d6cebb Mon Sep 17 00:00:00 2001 From: Felix Hammer Date: Fri, 9 Jan 2015 23:11:39 +0100 Subject: [PATCH] change define to ifdef --- src/gui/qt/startwindow/startwindowimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/startwindow/startwindowimpl.cpp b/src/gui/qt/startwindow/startwindowimpl.cpp index dbcedcbc..338a6825 100755 --- a/src/gui/qt/startwindow/startwindowimpl.cpp +++ b/src/gui/qt/startwindow/startwindowimpl.cpp @@ -256,7 +256,7 @@ startWindowImpl::startWindowImpl(ConfigFile *c, Log *l) connect(this, SIGNAL(signalPlayerGameInvitation(unsigned, unsigned, unsigned)), myGameLobbyDialog, SLOT(chatInfoPlayerInvitation(unsigned, unsigned, unsigned))); connect(this, SIGNAL(signalRejectedGameInvitation(unsigned, unsigned, DenyGameInvitationReason)), myGameLobbyDialog, SLOT(chatInfoPlayerRejectedInvitation(unsigned, unsigned, DenyGameInvitationReason))); -#define NEW_LOCAL_GAME +#ifdef NEW_LOCAL_GAME QAction *actionStart_Local_Game_new = new QAction("Start (new) local game ...",this); menuPokerTH->addAction(actionStart_Local_Game_new); connect( actionStart_Local_Game_new, SIGNAL( triggered() ), this, SLOT( callNewGameDialogNew() ) );