diff options
author | Florian Festi <ffesti@redhat.com> | 2010-08-26 20:16:47 +0200 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2010-08-26 20:16:47 +0200 |
commit | 038e22cd3006a6b61bfc9cbb07d660ec616a55b2 (patch) | |
tree | 9f3b8e5eda6039c8c38fc0cfdda4e09e880876c4 | |
parent | 9ebb7dd816892c73454f321943004baa3d528cdb (diff) | |
download | pkggui-038e22cd3006a6b61bfc9cbb07d660ec616a55b2.tar.gz pkggui-038e22cd3006a6b61bfc9cbb07d660ec616a55b2.tar.xz pkggui-038e22cd3006a6b61bfc9cbb07d660ec616a55b2.zip |
Make the Quit menu entry work
-rw-r--r-- | packages.ui | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/packages.ui b/packages.ui index cae8690..30caf86 100644 --- a/packages.ui +++ b/packages.ui @@ -155,6 +155,9 @@ <property name="text"> <string>Quit</string> </property> + <property name="menuRole"> + <enum>QAction::QuitRole</enum> + </property> </action> <action name="actionAbout"> <property name="text"> @@ -163,5 +166,22 @@ </action> </widget> <resources/> - <connections/> + <connections> + <connection> + <sender>actionQuit</sender> + <signal>activated()</signal> + <receiver>MainWindow</receiver> + <slot>close()</slot> + <hints> + <hint type="sourcelabel"> + <x>-1</x> + <y>-1</y> + </hint> + <hint type="destinationlabel"> + <x>425</x> + <y>433</y> + </hint> + </hints> + </connection> + </connections> </ui> |