summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/declarative-radio/main.cpp
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2017-09-20 10:37:06 +0200
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2017-10-05 11:03:27 +0000
commit951393508a5068bd999c3225158cbb06872d881c (patch)
tree989c3dc9c9323b3be83755c2adb9cf3877b0ef78 /examples/multimedia/declarative-radio/main.cpp
parent41ef172d1cee40c42d14ff7824baedf11060b987 (diff)
Modernize the Declarative Radio example
Added responsive UI. Added Button type. Task-number: QTBUG-60627 Change-Id: I69d10ad735706538b31c7bf1810e90d5a884a382 Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'examples/multimedia/declarative-radio/main.cpp')
-rw-r--r--examples/multimedia/declarative-radio/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/multimedia/declarative-radio/main.cpp b/examples/multimedia/declarative-radio/main.cpp
index 0dfd4d2c9..6d7771e60 100644
--- a/examples/multimedia/declarative-radio/main.cpp
+++ b/examples/multimedia/declarative-radio/main.cpp
@@ -50,7 +50,8 @@ int main(int argc, char ** argv)
QQuickView view;
- view.setSource(QUrl("qrc:view.qml"));
+ view.setSource(QUrl("qrc:/view.qml"));
+ view.setMinimumSize(QSize(400, 100));
view.show();
return app.exec();