forked from qt-creator/qt-creator
Missed some unused ';' after Q_UNUSED
This commit is contained in:
@@ -39,8 +39,8 @@ MyPlugin1::MyPlugin1()
|
|||||||
|
|
||||||
bool MyPlugin1::initialize(const QStringList &arguments, QString *errorString)
|
bool MyPlugin1::initialize(const QStringList &arguments, QString *errorString)
|
||||||
{
|
{
|
||||||
Q_UNUSED(arguments);
|
Q_UNUSED(arguments)
|
||||||
Q_UNUSED(errorString);
|
Q_UNUSED(errorString)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -383,7 +383,7 @@ void FakeVimPluginPrivate::windowCommand(int key)
|
|||||||
|
|
||||||
void FakeVimPluginPrivate::find(bool reverse)
|
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);
|
triggerAction(Find::Constants::FIND_IN_DOCUMENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -485,7 +485,7 @@ void FakeVimPluginPrivate::triggerCompletions()
|
|||||||
void FakeVimPluginPrivate::writeFile(bool *handled,
|
void FakeVimPluginPrivate::writeFile(bool *handled,
|
||||||
const QString &fileName, const QString &contents)
|
const QString &fileName, const QString &contents)
|
||||||
{
|
{
|
||||||
Q_UNUSED(contents);
|
Q_UNUSED(contents)
|
||||||
|
|
||||||
FakeVimHandler *handler = qobject_cast<FakeVimHandler *>(sender());
|
FakeVimHandler *handler = qobject_cast<FakeVimHandler *>(sender());
|
||||||
if (!handler)
|
if (!handler)
|
||||||
@@ -684,8 +684,8 @@ FakeVimPlugin::~FakeVimPlugin()
|
|||||||
|
|
||||||
bool FakeVimPlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
bool FakeVimPlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
||||||
{
|
{
|
||||||
Q_UNUSED(arguments);
|
Q_UNUSED(arguments)
|
||||||
Q_UNUSED(errorMessage);
|
Q_UNUSED(errorMessage)
|
||||||
return d->initialize();
|
return d->initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const char *PlainTextEditorEditable::kind() const
|
|||||||
|
|
||||||
void PlainTextEditor::indentBlock(QTextDocument *doc, QTextBlock block, QChar typedChar)
|
void PlainTextEditor::indentBlock(QTextDocument *doc, QTextBlock block, QChar typedChar)
|
||||||
{
|
{
|
||||||
Q_UNUSED(typedChar);
|
Q_UNUSED(typedChar)
|
||||||
|
|
||||||
// At beginning: Leave as is.
|
// At beginning: Leave as is.
|
||||||
if (block == doc->begin())
|
if (block == doc->begin())
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ static void registerQObjectInterface(QScriptEngine &engine)
|
|||||||
qObjectInterfaceToScriptValue<QObjectInterface>,
|
qObjectInterfaceToScriptValue<QObjectInterface>,
|
||||||
scriptValueToQObjectInterface<QObjectInterface>,
|
scriptValueToQObjectInterface<QObjectInterface>,
|
||||||
scriptProtoType);
|
scriptProtoType);
|
||||||
Q_UNUSED(metaTypeId);
|
Q_UNUSED(metaTypeId)
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace SharedTools
|
} // namespace SharedTools
|
||||||
|
|||||||
Reference in New Issue
Block a user