summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/makeqpf/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-23 17:13:36 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-23 17:13:36 -0500
commitd3f7a9d6f1b8f6e24fb49aaa8caeaa7623ae48b5 (patch)
treebaeeba639393f46abab749f4700a250091c3cc16 /tqtinterface/qt4/tools/makeqpf/main.cpp
parentd7be1694839bacae31e500ea9e36b3c13257ce28 (diff)
downloadexperimental-d3f7a9d6f1b8f6e24fb49aaa8caeaa7623ae48b5.tar.gz
experimental-d3f7a9d6f1b8f6e24fb49aaa8caeaa7623ae48b5.zip
Apply all Qt3.3.8d patches
NOTE: This will *likely* break compilation of TQt4 Please wait a few days for fixes to be committed as needed!
Diffstat (limited to 'tqtinterface/qt4/tools/makeqpf/main.cpp')
-rw-r--r--tqtinterface/qt4/tools/makeqpf/main.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tqtinterface/qt4/tools/makeqpf/main.cpp b/tqtinterface/qt4/tools/makeqpf/main.cpp
index 00e6cb0..3425549 100644
--- a/tqtinterface/qt4/tools/makeqpf/main.cpp
+++ b/tqtinterface/qt4/tools/makeqpf/main.cpp
@@ -47,7 +47,7 @@
#include <tqmemorymanager_qws.h>
#endif
-#include <stdlib.h>
+#include <cstdlib>
class FontViewItem : public TQListViewItem {
@@ -137,8 +137,6 @@ public:
}
};
-extern TQString qws_topdir();
-
class MakeTQPF : public TQMainWindow
{
TQ_OBJECT
@@ -152,7 +150,7 @@ public:
view->addColumn("Weight");
view->addColumn("Style");
setCentralWidget(view);
- TQString fontdir = qws_topdir() + "/lib/fonts";
+ TQString fontdir = TQString(getenv("TQTDIR")) + "/lib/fonts";
readFontDir(fontdir);
connect(view,TQT_SIGNAL(selectionChanged(TQListViewItem*)),