aboutsummaryrefslogtreecommitdiffstats
path: root/games/qgo/files/patch-qgo::src::mainwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/qgo/files/patch-qgo::src::mainwin.cpp')
-rw-r--r--games/qgo/files/patch-qgo::src::mainwin.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/qgo/files/patch-qgo::src::mainwin.cpp b/games/qgo/files/patch-qgo::src::mainwin.cpp
new file mode 100644
index 000000000000..ec5047338faa
--- /dev/null
+++ b/games/qgo/files/patch-qgo::src::mainwin.cpp
@@ -0,0 +1,15 @@
+--- qgo/src/mainwin.cpp.orig Sat Jun 19 07:38:43 2004
++++ qgo/src/mainwin.cpp Sun Aug 22 15:55:59 2004
+@@ -1604,10 +1604,10 @@
+ //set the params of "who command"
+ if ((whoBox1->currentItem() >1) || (whoBox2->currentItem() >1))
+ {
+- wparam.append(whoBox1->currentItem()==1 ? "9p" : whoBox1->currentText());
++ wparam.append(whoBox1->currentItem()==1 ? QString("9p") : whoBox1->currentText());
+ if ((whoBox1->currentItem()) && (whoBox2->currentItem()))
+ wparam.append("-");
+- wparam.append(whoBox2->currentItem()==1 ? "9p" : whoBox2->currentText());
++ wparam.append(whoBox2->currentItem()==1 ? QString("9p") : whoBox2->currentText());
+ }
+ else if ((whoBox1->currentItem()) || (whoBox2->currentItem()))
+ wparam.append("1p-9p");