qtmobility/examples/player/main.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    46 {
    46 {
    47     QApplication app(argc, argv);
    47     QApplication app(argc, argv);
    48 
    48 
    49 #ifdef Q_OS_SYMBIAN
    49 #ifdef Q_OS_SYMBIAN
    50     QMainWindow window;
    50     QMainWindow window;
       
    51     window.setContentsMargins(10, 10, 10, 10); // workaround for issue where UI is not drawn in older SDKs
       
    52                                                // this line can be removed when bug QTBUG-8697 is fixed
    51     Player *player = new Player(&window);
    53     Player *player = new Player(&window);
    52     window.setCentralWidget(player);
    54     window.setCentralWidget(player);
    53     window.showMaximized();
    55     window.showMaximized();
    54 #else
    56 #else
    55     Player player;
    57     Player player;