Seafood/main.cpp
changeset 16 e26c25b72a12
parent 13 92f7e918c7b5
equal deleted inserted replaced
15:0f80a0f39475 16:e26c25b72a12
     1 #include <QtGui/QApplication>
     1 #include <QtGui/QApplication>
     2 #include <QWidget>
     2 #include <QWidget>
     3 
     3 
     4 #include "mainwindow.h"
     4 #include "mainwindow.h"
     5 
     5 
     6 // By default, Actions is added to the Options menu. The
     6 // Tech Tip: By default, Actions is added to the Options menu. The
     7 // idea is to support context menus on non-touch mobiles.
     7 // idea is to support context menus on non-touch mobiles.
     8 void disableContextMenu()
     8 void disableContextMenu()
     9 {
     9 {
    10     QWidgetList widgets = QApplication::allWidgets();
    10     QWidgetList widgets = QApplication::allWidgets();
    11     QWidget* wid=0;
    11     QWidget* wid=0;