summaryrefslogtreecommitdiff
path: root/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp')
-rw-r--r--sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp b/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp
new file mode 100644
index 000000000000..68f2588ca114
--- /dev/null
+++ b/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp
@@ -0,0 +1,11 @@
+--- gui/src/mainwindow.cpp.orig 2012-12-03 07:13:07 UTC
++++ gui/src/mainwindow.cpp
+@@ -426,7 +426,7 @@ void QPxToolMW::selectTab()
+ int idx;
+ QAction *act = (QAction*) sender();
+ idx = act_sblist.indexOf(act);
+- if (act<0) return;
++ if (act == NULL) return;
+ mwidget->selectTab(idx);
+ }
+