changeset 33 | 3e2da88830cd |
parent 18 | 2f34d5167611 |
--- a/demos/pathstroke/main.cpp Tue Jul 06 15:10:48 2010 +0300 +++ b/demos/pathstroke/main.cpp Wed Aug 18 10:37:55 2010 +0300 @@ -48,10 +48,7 @@ QApplication app(argc, argv); - bool smallScreen = false; - for (int i=0; i<argc; i++) - if (QString(argv[i]) == "-small-screen") - smallScreen = true; + bool smallScreen = QApplication::arguments().contains("-small-screen"); PathStrokeWidget pathStrokeWidget(smallScreen); QStyle *arthurStyle = new ArthurStyle();