[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Fri May 16 03:14:11 CEST 2003
CVS commit by staikos:
- fix plugin removal
- minor UI fix
M +9 -7 kstplugindialog_i.cpp 1.8
M +0 -3 pluginmanager.ui 1.7
M +1 -1 pluginmanager.ui.h 1.8
--- kdeextragear-2/kst/kst/kstplugindialog_i.cpp #1.7:1.8
@@ -230,4 +230,5 @@ void KstPluginDialogI::pluginChanged(int
generateEntries(true, cnt, _frameWidget, grid, pluginData._inputs, doc);
+ if (!pluginData._inputs.isEmpty() && !pluginData._outputs.isEmpty()) {
// Add a separator
line = new QFrame(_frameWidget);
@@ -237,4 +238,5 @@ void KstPluginDialogI::pluginChanged(int
grid->addWidget(line, cnt, 0);
cnt++;
+ }
// Generate the output values
--- kdeextragear-2/kst/kst/pluginmanager.ui #1.6:1.7
@@ -192,7 +192,4 @@
<include location="local" impldecl="in implementation">pluginmanager.ui.h</include>
</includes>
-<variables>
- <variable access="public">QMap<QString,QString> _pluginMap;</variable>
-</variables>
<slots>
<slot access="private">init()</slot>
--- kdeextragear-2/kst/kst/pluginmanager.ui.h #1.7:1.8
@@ -90,5 +90,5 @@ void PluginManager::remove()
}
- PluginLoader::self()->deletePlugin(_pluginMap[item->text(1)]);
+ PluginLoader::self()->deletePlugin(PluginCollection::self()->pluginNameList()[item->text(1)]);
delete item;
More information about the Kst
mailing list