mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 21:06:17 +00:00
Facebook integration: keep the connections QMenu around
This way we can change the text, later. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7312cfc2d0
commit
c39fbea0ee
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -241,6 +241,7 @@ private:
|
|||
|
||||
WindowTitleUpdate *wtu;
|
||||
GpsLocation *locationProvider;
|
||||
QMenu *connections;
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
|
Loading…
Add table
Reference in a new issue