[Libreoffice-commits] core.git: vcl/inc vcl/qt5
Jan-Marek Glogowski (via logerrit)
logerrit at kemper.freedesktop.org
Mon May 6 18:59:58 UTC 2019
vcl/inc/qt5/Qt5Menu.hxx | 3 ---
vcl/qt5/Qt5Menu.cxx | 1 -
2 files changed, 4 deletions(-)
New commits:
commit ac52193805c537619402b993d7308935857ce668
Author: Jan-Marek Glogowski <glogow at fbihome.de>
AuthorDate: Mon May 6 15:09:51 2019 +0000
Commit: Jan-Marek Glogowski <glogow at fbihome.de>
CommitDate: Mon May 6 20:58:58 2019 +0200
Qt5 remove unused Qt5Menu::setFrameSignal
Change-Id: Iead091fee3b6c72d610f42598edb7cbb681d0cd4
Reviewed-on: https://gerrit.libreoffice.org/71870
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow at fbihome.de>
diff --git a/vcl/inc/qt5/Qt5Menu.hxx b/vcl/inc/qt5/Qt5Menu.hxx
index b8a451657372..f3807abb0bf6 100644
--- a/vcl/inc/qt5/Qt5Menu.hxx
+++ b/vcl/inc/qt5/Qt5Menu.hxx
@@ -73,9 +73,6 @@ public:
unsigned GetItemCount() { return maItems.size(); }
Qt5MenuItem* GetItemAtPos(unsigned nPos) { return maItems[nPos]; }
-Q_SIGNALS:
- void setFrameSignal(const SalFrame* pFrame);
-
private slots:
static void slotMenuTriggered(Qt5MenuItem* pQItem);
static void slotMenuAboutToShow(Qt5MenuItem* pQItem);
diff --git a/vcl/qt5/Qt5Menu.cxx b/vcl/qt5/Qt5Menu.cxx
index 6112a7aa4e6c..d119c71010b9 100644
--- a/vcl/qt5/Qt5Menu.cxx
+++ b/vcl/qt5/Qt5Menu.cxx
@@ -29,7 +29,6 @@ Qt5Menu::Qt5Menu(bool bMenuBar)
, mpQMenuBar(nullptr)
, mpQMenu(nullptr)
{
- connect(this, &Qt5Menu::setFrameSignal, this, &Qt5Menu::SetFrame, Qt::BlockingQueuedConnection);
}
bool Qt5Menu::VisibleMenuBar() { return true; }
More information about the Libreoffice-commits
mailing list