diff options
Diffstat (limited to 'lib/pluginloader/pluginloader.h')
-rw-r--r-- | lib/pluginloader/pluginloader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pluginloader/pluginloader.h b/lib/pluginloader/pluginloader.h index 0c8bcd3..48be61d 100644 --- a/lib/pluginloader/pluginloader.h +++ b/lib/pluginloader/pluginloader.h @@ -40,7 +40,9 @@ public: QString errorString() const { if(signature < requiredSignatureLevel) - return QString("Required signature level: %2; Signature level: %3").arg(QString::number((int) requiredSignatureLevel), QString::number((int) signature)); + return QString("Required signature level: %2; Signature level: %3").arg( + QString::number(static_cast<int>(requiredSignatureLevel)), + QString::number(static_cast<int>(signature))); else return QPluginLoader::errorString(); } |