summaryrefslogtreecommitdiff
path: root/extra/k3b
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
commit28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (patch)
treeb5961b2312f5afe599dba0d1b9a3b6f6e3d04091 /extra/k3b
parent3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff)
Tue Nov 15 14:33:58 UTC 2011
Diffstat (limited to 'extra/k3b')
-rw-r--r--extra/k3b/fix-crash-with-qt-4.7.0.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/extra/k3b/fix-crash-with-qt-4.7.0.patch b/extra/k3b/fix-crash-with-qt-4.7.0.patch
deleted file mode 100644
index a99b5c639..000000000
--- a/extra/k3b/fix-crash-with-qt-4.7.0.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Index: src/option/k3bpluginoptiontab.cpp
-===================================================================
---- src/option/k3bpluginoptiontab.cpp (revision 1168967)
-+++ src/option/k3bpluginoptiontab.cpp (working copy)
-@@ -43,12 +43,28 @@
- layout->addWidget( label );
- layout->addWidget( pluginSelector );
-
-+ // find all categories
-+ QHash<QString, QString> categoryNames;
-+
- foreach( K3b::Plugin* plugin, k3bcore->pluginManager()->plugins() ) {
-- kDebug() << "Adding plugin" << plugin->pluginInfo().name();
-- pluginSelector->addPlugins( QList<KPluginInfo>() << plugin->pluginInfo(),
-+ categoryNames[ plugin->category() ] = plugin->categoryName();
-+ }
-+
-+ // add all plugins in each category
-+ foreach( const QString &category, categoryNames.keys() ) {
-+ QList<KPluginInfo> plugins;
-+
-+ foreach( K3b::Plugin* plugin, k3bcore->pluginManager()->plugins() ) {
-+ if ( plugin->category() == category ) {
-+ plugins << plugin->pluginInfo();
-+ kDebug() << "Adding plugin" << plugin->pluginInfo().name();
-+ }
-+ }
-+ pluginSelector->addPlugins( plugins,
- KPluginSelector::ReadConfigFile,
-- plugin->categoryName(),
-- plugin->category() );
-+ categoryNames[ category ],
-+ category
-+ );
- }
- }
-