summaryrefslogtreecommitdiff
path: root/math/xgfe/files/patch-xgfeMainData.cpp
blob: 2ee032e3cafac14bc7d229284dcabe9d4fb8eef0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- xgfeMainData.cpp.orig	Thu Oct 30 21:54:58 2003
+++ xgfeMainData.cpp	Thu Oct 30 21:42:04 2003
@@ -34,10 +34,13 @@
 #include <qpushbt.h>
 #include <qlayout.h>
 
+#define QColor(i)	(QColor)(i)
+#define QRgb(i)		(QRgb)(i)
+
 xgfeMainData::xgfeMainData
 (
- 	QWidget* parent = 0,
-	const char* name = 0
+ 	QWidget* parent,
+	const char* name
 )
 	:
   Inherited( parent, name, TRUE, WStyle_Customize | WStyle_NormalBorder 
@@ -973,7 +976,7 @@
 
   if (!f.isEmpty())
   {
-    temp = f;
+    temp = f.ascii();
     gnuInt->setOutput(temp);
     outputLabel->setText(f);
   }