]> git.lyx.org Git - features.git/commitdiff
Fix signals
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 23 Dec 2022 15:07:47 +0000 (16:07 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 23 Dec 2022 15:07:47 +0000 (16:07 +0100)
src/frontends/qt/GuiView.cpp

index 864721ee28068f8f5ebcc9285ae444f108783a18..c88b6002f3c4f929b749e2b3151650837d04270f 100644 (file)
@@ -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();