summaryrefslogtreecommitdiff
path: root/x11-toolkits/qt33/files/patch-tools_makeqpf_main.cpp
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-08-13 22:46:52 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-08-13 22:46:52 +0000
commit3a01d4e44cf154fdc025f7589d1210735c70a779 (patch)
treec29bede13cc1692738fbf923ca261d8b42591a0e /x11-toolkits/qt33/files/patch-tools_makeqpf_main.cpp
parentUnbreak for 5-current (2004/Aug/6). (diff)
Update to 3.3.3
Notes
Notes: svn path=/head/; revision=116152
Diffstat (limited to 'x11-toolkits/qt33/files/patch-tools_makeqpf_main.cpp')
-rw-r--r--x11-toolkits/qt33/files/patch-tools_makeqpf_main.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/qt33/files/patch-tools_makeqpf_main.cpp b/x11-toolkits/qt33/files/patch-tools_makeqpf_main.cpp
new file mode 100644
index 000000000000..7a2df67c8551
--- /dev/null
+++ b/x11-toolkits/qt33/files/patch-tools_makeqpf_main.cpp
@@ -0,0 +1,20 @@
+--- tools/makeqpf/main.cpp.orig Wed Jun 23 14:13:52 2004
++++ tools/makeqpf/main.cpp Wed Aug 11 21:32:48 2004
+@@ -124,8 +124,6 @@
+ }
+ };
+
+-extern QString qws_topdir();
+-
+ class MakeQPF : public QMainWindow
+ {
+ Q_OBJECT
+@@ -139,7 +137,7 @@
+ view->addColumn("Weight");
+ view->addColumn("Style");
+ setCentralWidget(view);
+- QString fontdir = qws_topdir() + "/lib/fonts";
++ QString fontdir = QString(getenv("QTDIR")) + "/lib/fonts";
+ readFontDir(fontdir);
+
+ connect(view,SIGNAL(selectionChanged(QListViewItem*)),