forked from qt-creator/qt-creator
Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user