Removing some unused semicolons after Q_UNUSED

There were both variants, with and without extra semicolon.
This commit is contained in:
Alessandro Portale
2009-07-13 17:35:17 +02:00
parent f9ed6f18bc
commit d3f9757916
81 changed files with 298 additions and 298 deletions

View File

@@ -354,7 +354,7 @@ void CentralWidget::printPreview(QPrinter *p)
if (viewer)
viewer->print(p);
#else
Q_UNUSED(p);
Q_UNUSED(p)
#endif
}
@@ -513,7 +513,7 @@ void CentralWidget::setTabTitle(const QUrl& url)
}
}
#else
Q_UNUSED(url);
Q_UNUSED(url)
#endif
if (viewer) {
@@ -643,7 +643,7 @@ bool CentralWidget::find(const QString &txt, QTextDocument::FindFlags findFlags,
HelpViewer* viewer = currentHelpViewer();
#if !defined(QT_NO_WEBKIT)
Q_UNUSED(incremental);
Q_UNUSED(incremental)
if (viewer) {
QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument;
if (findFlags & QTextDocument::FindBackward)

View File

@@ -123,7 +123,7 @@ bool HelpViewerFindSupport::find(const QString &txt, Find::IFindSupport::FindFla
{
QTC_ASSERT(m_viewer, return false);
#if !defined(QT_NO_WEBKIT)
Q_UNUSED(incremental);
Q_UNUSED(incremental)
QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument;
if (findFlags & Find::IFindSupport::FindBackward)
options |= QWebPage::FindBackward;

View File

@@ -106,6 +106,6 @@ void HelpIndexFilter::accept(FilterEntry selection) const
void HelpIndexFilter::refresh(QFutureInterface<void> &future)
{
Q_UNUSED(future);
Q_UNUSED(future)
// Nothing to refresh
}

View File

@@ -135,8 +135,8 @@ HelpPlugin::~HelpPlugin()
bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
{
Q_UNUSED(arguments);
Q_UNUSED(error);
Q_UNUSED(arguments)
Q_UNUSED(error)
m_core = Core::ICore::instance();
QList<int> globalcontext;
globalcontext << Core::Constants::C_GLOBAL_ID;