From cf5d70ff31a166cb13f5c042f019e6193f97526d Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Sun, 14 Mar 2010 00:06:27 +0100 Subject: Use default value instead of a different function --- src/mainwindow.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/mainwindow.h') 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 &); -- cgit v1.2.1