Linguist: do not override the roles of Edit menu items
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 28 May 2015 14:27:49 +0000 (16:27 +0200)
committerShawn Rutledge <shawn.rutledge@digia.com>
Fri, 29 May 2015 09:07:41 +0000 (09:07 +0000)
The menu items were staying disabled whenever the File dialog is open,
so it was not possible to use them to cut/copy/paste into the native
FileDialog (or its child sheets) on OS X.

Task-number: QTBUG-17291
Change-Id: I0b821bd85d6d614ad845f594e4d8d994e1386d94
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
src/linguist/linguist/mainwindow.ui

index 03fa38b..769bade 100644 (file)
    <property name="shortcut">
     <string>Ctrl+X</string>
    </property>
-   <property name="menuRole">
-    <enum>QAction::NoRole</enum>
-   </property>
   </action>
   <action name="actionCopy">
    <property name="enabled">
    <property name="shortcut">
     <string>Ctrl+C</string>
    </property>
-   <property name="menuRole">
-    <enum>QAction::NoRole</enum>
-   </property>
   </action>
   <action name="actionPaste">
    <property name="enabled">
    <property name="shortcut">
     <string>Ctrl+V</string>
    </property>
-   <property name="menuRole">
-    <enum>QAction::NoRole</enum>
-   </property>
   </action>
   <action name="actionSelectAll">
    <property name="enabled">
    <property name="shortcut">
     <string>Ctrl+A</string>
    </property>
-   <property name="menuRole">
-    <enum>QAction::NoRole</enum>
-   </property>
   </action>
   <action name="actionFind">
    <property name="enabled">