Commit 5438a3f7 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Missed some unused ';' after Q_UNUSED

parent 3f1be148
......@@ -39,8 +39,8 @@ MyPlugin1::MyPlugin1()
bool MyPlugin1::initialize(const QStringList &arguments, QString *errorString)
{
Q_UNUSED(arguments);
Q_UNUSED(errorString);
Q_UNUSED(arguments)
Q_UNUSED(errorString)
return true;
}
......
......@@ -383,7 +383,7 @@ void FakeVimPluginPrivate::windowCommand(int key)
void FakeVimPluginPrivate::find(bool reverse)
{
Q_UNUSED(reverse); // TODO: Creator needs an action for find in reverse.
Q_UNUSED(reverse) // TODO: Creator needs an action for find in reverse.
triggerAction(Find::Constants::FIND_IN_DOCUMENT);
}
......@@ -485,7 +485,7 @@ void FakeVimPluginPrivate::triggerCompletions()
void FakeVimPluginPrivate::writeFile(bool *handled,
const QString &fileName, const QString &contents)
{
Q_UNUSED(contents);
Q_UNUSED(contents)
FakeVimHandler *handler = qobject_cast<FakeVimHandler *>(sender());
if (!handler)
......@@ -684,8 +684,8 @@ FakeVimPlugin::~FakeVimPlugin()
bool FakeVimPlugin::initialize(const QStringList &arguments, QString *errorMessage)
{
Q_UNUSED(arguments);
Q_UNUSED(errorMessage);
Q_UNUSED(arguments)
Q_UNUSED(errorMessage)
return d->initialize();
}
......
......@@ -96,7 +96,7 @@ const char *PlainTextEditorEditable::kind() const
void PlainTextEditor::indentBlock(QTextDocument *doc, QTextBlock block, QChar typedChar)
{
Q_UNUSED(typedChar);
Q_UNUSED(typedChar)
// At beginning: Leave as is.
if (block == doc->begin())
......
......@@ -80,7 +80,7 @@ static void registerQObjectInterface(QScriptEngine &engine)
qObjectInterfaceToScriptValue<QObjectInterface>,
scriptValueToQObjectInterface<QObjectInterface>,
scriptProtoType);
Q_UNUSED(metaTypeId);
Q_UNUSED(metaTypeId)
}
} // namespace SharedTools
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment