diff options
| author | 2018-11-27 20:29:47 -0500 | |
|---|---|---|
| committer | 2018-11-28 22:02:03 -0500 | |
| commit | 081bcfd8329b1ef2a0c027c6ab5da5d7c0686d09 (patch) | |
| tree | fe7f068c7f0c24320a5981411c9646817fcfcfff /src/modules/help | |
| parent | Modernize to C++17 (diff) | |
| download | KVIrc-081bcfd8329b1ef2a0c027c6ab5da5d7c0686d09.tar.gz KVIrc-081bcfd8329b1ef2a0c027c6ab5da5d7c0686d09.tar.bz2 KVIrc-081bcfd8329b1ef2a0c027c6ab5da5d7c0686d09.zip | |
Remove Q_UNUSED macros
Diffstat (limited to 'src/modules/help')
| -rw-r--r-- | src/modules/help/HelpIndex.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
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())); |
