r20022 by craig - Hide plugin enabled text in About Plugins as it doesn't mean anything really
scribus-commit
scribus-commit at lists.scribus.net
Sat Apr 25 16:30:37 UTC 2015
Author: craig
Date: Sat Apr 25 16:30:36 2015
New Revision: 20022
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20022
Log:
Hide plugin enabled text in About Plugins as it doesn't mean anything really
Modified:
trunk/Scribus/scribus/ui/aboutplugins.cpp
Modified: trunk/Scribus/scribus/ui/aboutplugins.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20022&path=/trunk/Scribus/scribus/ui/aboutplugins.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/aboutplugins.cpp (original)
+++ trunk/Scribus/scribus/ui/aboutplugins.cpp Sat Apr 25 16:30:36 2015
@@ -69,9 +69,10 @@
html += "<table>";
html += QString("<tr><th>%1</th><td>%2</td></tr>").arg( tr("Filename:")).arg(fi.completeBaseName());
html += QString("<tr><th>%1</th><td>%2</td></tr>").arg( tr("Version:")).arg(about->version);
- QString ena;
- ena = pluginManager.enabled(name) ? CommonStrings::trYes : CommonStrings::trNo;
- html += QString("<tr><th>%1</th><td>%2</td></tr>").arg( tr("Enabled:")).arg(ena);
+// As we dont allow users to disable plugins, hide this
+// QString ena;
+// ena = pluginManager.enabled(name) ? CommonStrings::trYes : CommonStrings::trNo;
+// html += QString("<tr><th>%1</th><td>%2</td></tr>").arg( tr("Enabled:")).arg(ena);
html += QString("<tr><th>%1</th><td>%2</td></tr>").arg( tr("Release Date:")).arg(about->releaseDate.toString());
html += "</table>";
QString desc;
More information about the scribus-commit
mailing list