pkgsrc-wip/xgfe/patches/patch-bc

29 lines
653 B
Text

$NetBSD: patch-bc,v 1.1.1.1 2005/02/25 21:00:02 daprice Exp $
--- xgfeMainData.cpp.orig 2005-02-15 12:09:37.000000000 -0700
+++ xgfeMainData.cpp
@@ -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 @@ void xgfeMainData::getOutput()
if (!f.isEmpty())
{
- temp = f;
+ temp = f.ascii();
gnuInt->setOutput(temp);
outputLabel->setText(f);
}