From 081bcfd8329b1ef2a0c027c6ab5da5d7c0686d09 Mon Sep 17 00:00:00 2001 From: IceN9ne Date: Tue, 27 Nov 2018 20:29:47 -0500 Subject: Remove Q_UNUSED macros --- src/modules/help/HelpIndex.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/modules/help/HelpIndex.cpp') diff --git a/src/modules/help/HelpIndex.cpp b/src/modules/help/HelpIndex.cpp index 4e37eca2e..102b666e8 100644 --- a/src/modules/help/HelpIndex.cpp +++ b/src/modules/help/HelpIndex.cpp @@ -83,12 +83,10 @@ QDataStream & operator<<(QDataStream & s, const Document & l) return s; } -HelpIndex::HelpIndex(QString dp, const QString & hp) +HelpIndex::HelpIndex(QString dp, const QString & /* hp */) : QObject(nullptr) , docPath(std::move(dp)) { - Q_UNUSED(hp); - alreadyHaveDocList = false; connect(qApp, SIGNAL(lastWindowClosed()), this, SLOT(setLastWinClosed())); @@ -99,12 +97,10 @@ HelpIndex::HelpIndex(QString dp, const QString & hp) connect(m_pTimer, SIGNAL(timeout()), this, SLOT(filterNext())); } -HelpIndex::HelpIndex(QStringList dl, const QString & hp) +HelpIndex::HelpIndex(QStringList dl, const QString & /* hp */) : QObject(nullptr) , docList{ std::move(dl) } { - Q_UNUSED(hp); - alreadyHaveDocList = true; connect(qApp, SIGNAL(lastWindowClosed()), this, SLOT(setLastWinClosed())); -- cgit v1.3.1-10-gc9f91