summaryrefslogtreecommitdiffstats
path: root/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0-fix_gtk3_segv.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0-fix_gtk3_segv.patch')
-rw-r--r--redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0-fix_gtk3_segv.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0-fix_gtk3_segv.patch b/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0-fix_gtk3_segv.patch
deleted file mode 100644
index f3e37218e..000000000
--- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0-fix_gtk3_segv.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- gtk-qt-engine/kcm_gtk/kcmgtk.cpp.ORI 2013-07-23 23:35:16.614406882 +0200
-+++ gtk-qt-engine/kcm_gtk/kcmgtk.cpp 2013-07-23 23:56:39.121594541 +0200
-@@ -261,13 +261,22 @@
- }
- }
-
-+ bool gtk3installed = false;
- widget->styleBox3->clear();
- TQStringList otherGtk3Styles = gtk3Themes.keys();
-- otherGtk3Styles.remove(otherGtk3Styles.find("tdegtk"));
-- widget->styleBox3->insertStringList(otherGtk3Styles);
--
-- bool gtk3installed = (gtk3Themes.find("tdegtk") != gtk3Themes.end());
-+ if(!otherGtk3Styles.empty()) {
-+ otherGtk3Styles.remove(otherGtk3Styles.find("tdegtk"));
-+ if(!otherGtk3Styles.empty()) {
-+ gtk3installed = (gtk3Themes.find("tdegtk") != gtk3Themes.end());
-+ }
-+ }
-+ if(gtk3installed) {
-+ widget->styleBox3->insertStringList(otherGtk3Styles);
-+ }
-+ otherGtk3Styles.clear();
- widget->styleKde3->setEnabled(gtk3installed);
-+ widget->styleBox3->setEnabled(gtk3installed);
-+ widget->styleOther3->setEnabled(gtk3installed);
- widget->warning4->setHidden(gtk3installed);
- widget->warning5->setHidden(gtk3installed);
- widget->warning6->setHidden(gtk3installed);