Changeset 23ad8db4a5 in tspsg for src/main.cpp


Ignore:
Timestamp:
Apr 9, 2011, 2:53:25 AM (13 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
144fbe6b96
Parents:
a885c3d9d2
git-author:
Oleksii Serdiuk <contacts@…> (04/09/11 02:53:25)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:58)
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
  • src/main.cpp

    ra885c3d9d2 r23ad8db4a5  
    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.