diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-03-14 00:06:27 +0100 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-03-14 00:08:31 +0100 |
commit | cf5d70ff31a166cb13f5c042f019e6193f97526d (patch) | |
tree | 5889286127857607dbc4319bf89ab55b3a10f19a /src/mainwindow.h | |
parent | Add middle click support for next, back and home in the main toolbar (diff) | |
download | rekonq-cf5d70ff31a166cb13f5c042f019e6193f97526d.tar.xz |
Use default value instead of a different function
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 9e491c69..b693fec1 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -87,8 +87,7 @@ private: void setupPanels(); public slots: - void homePage(); - void homePage(Qt::MouseButtons); + void homePage(Qt::MouseButtons = Qt::LeftButton); /** * Notifies a message in a popup @@ -123,10 +122,8 @@ private slots: void updateWindowTitle(const QString &title = QString()); // history related - void openPrevious(); - void openPrevious(Qt::MouseButtons); - void openNext(); - void openNext(Qt::MouseButtons); + void openPrevious(Qt::MouseButtons = Qt::LeftButton); + void openNext(Qt::MouseButtons = Qt::LeftButton); // Find Action slots void find(const QString &); |