From 3830d39278338f4fa9868e2ff3ce978076aa1c55 Mon Sep 17 00:00:00 2001 From: defnax Date: Sat, 5 Dec 2009 14:49:15 +0000 Subject: [PATCH] added missed defines git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1860 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/MainWindow.cpp | 4 ++-- retroshare-gui/src/gui/MainWindow.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp index f0c4dae0b..d3ccc172f 100644 --- a/retroshare-gui/src/gui/MainWindow.cpp +++ b/retroshare-gui/src/gui/MainWindow.cpp @@ -482,10 +482,10 @@ void MainWindow::createActions() _messagesAct = new QAction(QIcon(IMAGE_MESSAGES), tr("Open Messages"), this); connect(_messagesAct, SIGNAL(triggered()),this, SLOT(showMess())); - +#ifdef UNFINISHED _appAct = new QAction(QIcon(IMAGE_UNFINISHED), tr("Applications"), this); connect(_appAct, SIGNAL(triggered()),this, SLOT(showApplWindow())); - +#endif _helpAct = new QAction(QIcon(IMG_HELP), tr("Help"), this); connect(_helpAct, SIGNAL(triggered()), this, SLOT(showHelpDialog())); diff --git a/retroshare-gui/src/gui/MainWindow.h b/retroshare-gui/src/gui/MainWindow.h index f13b4cc2f..910516362 100644 --- a/retroshare-gui/src/gui/MainWindow.h +++ b/retroshare-gui/src/gui/MainWindow.h @@ -158,7 +158,9 @@ private: QAction* _messagesAct; QAction* _smplayerAct; QAction* _helpAct; +#ifdef UNFINISHED QAction* _appAct; +#endif /** A BandwidthGraph object which handles monitoring RetroShare bandwidth usage */ BandwidthGraph* _bandwidthGraph;