diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-05-15 04:12:53 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-05-15 04:12:53 (GMT) |
commit | 214b89c2e754c389433ae28889520647b198007d (patch) | |
tree | 2ad3fdaaa099c69bef37ef90bee44d30d27d8dc2 /tools/qmlviewer/main.cpp | |
parent | 520c11a1af023b444a9cc0f0720d606cc6146486 (diff) | |
download | Qt-214b89c2e754c389433ae28889520647b198007d.zip Qt-214b89c2e754c389433ae28889520647b198007d.tar.gz Qt-214b89c2e754c389433ae28889520647b198007d.tar.bz2 |
Skins in UI
(now that deviceskins includes them as qrc, we may as well use them)
Diffstat (limited to 'tools/qmlviewer/main.cpp')
-rw-r--r-- | tools/qmlviewer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlviewer/main.cpp b/tools/qmlviewer/main.cpp index f27606e..da13c1a 100644 --- a/tools/qmlviewer/main.cpp +++ b/tools/qmlviewer/main.cpp @@ -137,7 +137,7 @@ int main(int argc, char ** argv) viewer.setRecordPeriod(period); if (autorecord_to) viewer.setAutoRecord(autorecord_from,autorecord_to); - if (QDir(skin).exists()) + if (!skin.isEmpty() && QDir(skin).exists()) viewer.setSkin(skin); if (devkeys) viewer.setDeviceKeys(true); |