diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-24 04:22:15 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-24 04:22:15 (GMT) |
commit | 435f6f842c116de641917d0b352f1c21cec666ee (patch) | |
tree | d05c3c7a6e706be44b30e5983a9661aa065012bb /tools/qmlviewer/main.cpp | |
parent | b8fba323c817a00df3c3639eb172104cf68d259d (diff) | |
download | Qt-435f6f842c116de641917d0b352f1c21cec666ee.zip Qt-435f6f842c116de641917d0b352f1c21cec666ee.tar.gz Qt-435f6f842c116de641917d0b352f1c21cec666ee.tar.bz2 |
Compile
Diffstat (limited to 'tools/qmlviewer/main.cpp')
-rw-r--r-- | tools/qmlviewer/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/qmlviewer/main.cpp b/tools/qmlviewer/main.cpp index 448437c..db0a28f 100644 --- a/tools/qmlviewer/main.cpp +++ b/tools/qmlviewer/main.cpp @@ -15,7 +15,6 @@ #include "qmlviewer.h" #include <QWidget> #include <QDir> -#include "qfxtestengine.h" #include <QApplication> #include <QTranslator> #include <QDebug> @@ -76,7 +75,6 @@ int main(int argc, char ** argv) QString skin; bool devkeys = false; bool cache = false; - QString testDir; QString translationFile; for (int i = 1; i < argc; ++i) { @@ -126,7 +124,7 @@ int main(int argc, char ** argv) app.installTranslator(&qmlTranslator); } - QmlViewer viewer(testDir, 0, frameless ? Qt::FramelessWindowHint : Qt::Widget); + QmlViewer viewer(0, frameless ? Qt::FramelessWindowHint : Qt::Widget); foreach (QString lib, libraries) viewer.addLibraryPath(lib); viewer.setCacheEnabled(cache); |