diff options
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/mainwindow.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 5231961c7..526a71a17 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -328,7 +328,7 @@ MainWindow::~MainWindow() void MainWindow::setupSocialNetworkMenu() { #ifdef FBSUPPORT - QMenu *connections = new QMenu(tr("Connect to")); + connections = new QMenu(tr("Connect to")); FacebookPlugin *facebookPlugin = new FacebookPlugin(); QAction *toggle_connection = new QAction(this); QObject *obj = qobject_cast<QObject*>(facebookPlugin); diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index e7f8f28c4..8e9358a4c 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -241,6 +241,7 @@ private: WindowTitleUpdate *wtu; GpsLocation *locationProvider; + QMenu *connections; }; #endif // MAINWINDOW_H |