Missed some unused ';' after Q_UNUSED

This commit is contained in:
Alessandro Portale
2009-07-13 18:55:11 +02:00
parent 3f1be148ef
commit 5438a3f72f
4 changed files with 8 additions and 8 deletions

View File

@@ -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;
} }

View File

@@ -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();
} }

View File

@@ -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())

View File

@@ -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