summaryrefslogtreecommitdiff
path: root/src/zoombar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-14 19:35:42 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-14 19:35:42 +0200
commitc265c4a38887b65243ec6c9537c9cc7b5b53df40 (patch)
treeba97808ed9610304ef4d4d5adbc1bf0161d60542 /src/zoombar.h
parentMerge commit 'refs/merge-requests/168' of git://gitorious.org/rekonq/mainline... (diff)
downloadrekonq-c265c4a38887b65243ec6c9537c9cc7b5b53df40.tar.xz
Fixed focus regression.
As show slot calls setVisible(true) in QWidget code, we cannot override show() AND setVisible(bool). The best thing is IMHO inheriting show() && hide() slots
Diffstat (limited to 'src/zoombar.h')
-rw-r--r--src/zoombar.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/zoombar.h b/src/zoombar.h
index 8e8d9aba..adb0067b 100644
--- a/src/zoombar.h
+++ b/src/zoombar.h
@@ -54,6 +54,8 @@ public:
public slots:
void show();
+ void hide();
+
void zoomIn();
void zoomOut();
void zoomNormal();
@@ -65,9 +67,6 @@ public slots:
signals:
void visibilityChanged(bool);
-protected:
- void setVisible(bool visible);
-
private:
QToolButton *m_zoomIn;
QToolButton *m_zoomOut;