re-implemented setPluginInfo()

This commit is contained in:
Gerhard Hoffmann 2023-11-14 15:56:03 +01:00
parent c5654509a3
commit c8c19e8cfc

View File

@ -36,7 +36,17 @@ QString const &ATBVMCPlugin::getPluginInfo() {
} }
void ATBVMCPlugin::setPluginInfo(QString const &info) { void ATBVMCPlugin::setPluginInfo(QString const &info) {
m_pluginInfo = info;
Q_UNUSED(info);
QStringList lst;
lst << QString(" Interface: ") + INTERFACE;
lst << QString(" Interface Version: ") + INTERFACE_VERSION;
lst << QString(" Plugin name: ") + PLUGIN_NAME;
lst << QString(" Plugin version: ") + PLUGIN_VERSION;
lst << QString("Plugin extended version: ") + PLUGIN_EXTENDED_VERSION;
m_pluginInfo = lst.join('\n');
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------