diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp index 0b8bbdb3d..b462d515c 100644 --- a/retroshare-gui/src/gui/MainWindow.cpp +++ b/retroshare-gui/src/gui/MainWindow.cpp @@ -169,6 +169,8 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags) /* Create the Main pages and actions */ QActionGroup *grp = new QActionGroup(this); + ui.stackPages->add(pluginsPage = new PluginsPage(ui.stackPages), + createPageAction(QIcon(IMAGE_NETWORK), tr("Plugins"), grp)); NewsFeed *newsFeed = NULL; ui.stackPages->add(newsFeed = new NewsFeed(ui.stackPages), diff --git a/retroshare-gui/src/gui/MainWindow.h b/retroshare-gui/src/gui/MainWindow.h index acb0ffbd2..78324abb8 100644 --- a/retroshare-gui/src/gui/MainWindow.h +++ b/retroshare-gui/src/gui/MainWindow.h @@ -38,6 +38,7 @@ #include "StatisticDialog.h" #include "MessengerWindow.h" #include "ApplicationWindow.h" +#include "PluginsPage.h" #include "Preferences/PreferencesWindow.h" #include "Settings/gsettingswin.h" @@ -76,7 +77,8 @@ public: Messages, /** Messages page. */ Links, /** Links page. */ Channels, /** Channels page. */ - Forums /** Forums page. */ + Forums , /** Forums page. */ + Plugins }; @@ -103,6 +105,7 @@ public: //StatisticDialog *statisticDialog; MessengerWindow *messengerWindow; ApplicationWindow *applicationWindow; + PluginsPage* pluginsPage ; SMPlayer * mSMPlayer;