Changeset 159 in tspsg-svn for trunk/src/main.cpp


Ignore:
Timestamp:
Apr 9, 2011, 2:53:25 AM (13 years ago)
Author:
laleppa
Message:
  • Solution graph on Symbian is visually larger than on Windows Mobile. Added a hack that makes it about the same size on both platforms.
  • Fixed bug #6 (Bug: Actions in Options Menu).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main.cpp

    r154 r159  
    7777
    7878MainWindow mainwindow;
     79#ifdef Q_WS_S60
     80    //! \hack HACK: A workaround to hide Actions menu item in Symbian.
     81QWidgetList widgets = QApplication::allWidgets();
     82QWidget *w = 0;
     83    foreach(w, widgets) {
     84        w->setContextMenuPolicy(Qt::NoContextMenu);
     85    }
     86#endif
     87
    7988#ifdef HANDHELD
    8089    mainwindow.showMaximized();
Note: See TracChangeset for help on using the changeset viewer.