summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qpluginloader.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-20 11:03:48 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-21 08:53:38 +0200
commit1be271713ebcbca2f2cc1dd8734f2740165dab96 (patch)
treef39c4c241bae383427d466e6225889ab3e91efea /src/corelib/plugin/qpluginloader.cpp
parent3e09ac369dc8e2851ff772b9d9dde92fffd959b2 (diff)
Whitespace cleanup in corelib/ mimetypes, plugin and thread
Done with selective application of clang-format Change-Id: Iee6bf2426de81356b6d480629ba972f980b6d93d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/plugin/qpluginloader.cpp')
-rw-r--r--src/corelib/plugin/qpluginloader.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/plugin/qpluginloader.cpp b/src/corelib/plugin/qpluginloader.cpp
index f957c75ab86..db8db85fc04 100644
--- a/src/corelib/plugin/qpluginloader.cpp
+++ b/src/corelib/plugin/qpluginloader.cpp
@@ -211,7 +211,6 @@ bool QPluginLoader::load()
return d->loadPlugin();
}
-
/*!
Unloads the plugin and returns \c true if the plugin could be
unloaded; otherwise returns \c false.
@@ -234,7 +233,7 @@ bool QPluginLoader::unload()
did_load = false;
return d->unload();
}
- if (d) // Ouch
+ if (d) // Ouch
d->errorString = tr("The plugin was not loaded.");
return false;
}
@@ -347,7 +346,7 @@ void QPluginLoader::setFileName(const QString &fileName)
#else
if (qt_debug_component()) {
qWarning("Cannot load %s into a statically linked Qt library.",
- (const char*)QFile::encodeName(fileName));
+ (const char *)QFile::encodeName(fileName));
}
Q_UNUSED(fileName);
#endif