From 8765137a9ec0547b9edf3cb3b9ebae88a7043c2e Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Sun, 30 May 2010 16:50:36 +0200 Subject: - Sync mouse wheel zoom and the slider - Fix mouse wheel zoom limits (slider's max and min) --- src/mainwindow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index ffc91086..8acbef56 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -78,8 +78,6 @@ public: virtual QSize sizeHint() const; void setWidgetsVisible(bool makeFullScreen); - void setZoomSliderFactor(qreal factor); - private: void setupActions(); void setupTools(); @@ -103,6 +101,8 @@ public slots: void updateActions(); + void setZoomSliderFactor(qreal factor); + signals: // switching tabs void ctrlTabPressed(); -- cgit v1.2.1