diff options
-rw-r--r-- | sysutils/qpxtool/Makefile | 2 | ||||
-rw-r--r-- | sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/qpxtool/Makefile b/sysutils/qpxtool/Makefile index 3a4ef6b3ed9a..d614cc5ca866 100644 --- a/sysutils/qpxtool/Makefile +++ b/sysutils/qpxtool/Makefile @@ -3,7 +3,7 @@ PORTNAME= qpxtool PORTVERSION= 0.7.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION:C/\.[^.]*$/.x/}/${DISTVERSION} 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); + } + |