[LyX/master] Fix signals
Juergen Spitzmueller
spitz at lyx.org
Fri Dec 23 14:10:57 UTC 2022
commit f06ddb23426f4c307d90e9153a90abef43b86c32
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Fri Dec 23 16:07:47 2022 +0100
Fix signals
---
src/frontends/qt/GuiView.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index 864721e..c88b600 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -655,7 +655,7 @@ GuiView::GuiView(int id)
stat_counts_->hide();
statusBar()->addPermanentWidget(stat_counts_);
- connect(stat_counts_, SIGNAL(clicked()), this, SLOT(statsPressed()));
+ connect(stat_counts_, SIGNAL(pressed()), this, SLOT(statsPressed()));
zoom_slider_ = new QSlider(Qt::Horizontal, statusBar());
// Small size slider for macOS to prevent the status bar from enlarging
@@ -701,8 +701,8 @@ GuiView::GuiView(int id)
connect(zoom_slider_, SIGNAL(sliderMoved(int)), this, SLOT(zoomSliderMoved(int)));
connect(zoom_slider_, SIGNAL(valueChanged(int)), this, SLOT(zoomValueChanged(int)));
connect(this, SIGNAL(currentZoomChanged(int)), zoom_slider_, SLOT(setValue(int)));
- connect(zoom_in_, SIGNAL(clicked()), this, SLOT(zoomInPressed()));
- connect(zoom_out_, SIGNAL(clicked()), this, SLOT(zoomOutPressed()));
+ connect(zoom_in_, SIGNAL(pressed()), this, SLOT(zoomInPressed()));
+ connect(zoom_out_, SIGNAL(pressed()), this, SLOT(zoomOutPressed()));
// QPalette palette = statusBar()->palette();
More information about the lyx-cvs
mailing list