Commit cf9a8a24 authored by Dan Pascu's avatar Dan Pascu

Moved signal connecting for quit_action to the code

parent a5a62c7d
......@@ -106,6 +106,8 @@ class MainWindow(base_class, ui_class):
self.search_box.shortcut.setKey('CTRL+F')
self.search_box.shortcut.activated.connect(self.search_box.setFocus)
self.quit_action.triggered.connect(self.close)
self.idle_status_index = 0
notification_center = NotificationCenter()
......
......@@ -1244,22 +1244,5 @@ buttons below.</string>
<tabstop>mute_button</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>quit_action</sender>
<signal>activated()</signal>
<receiver>main_window</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>124</x>
<y>249</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
</ui>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment