Skip to content

Commit

Permalink
Fix about QDialog show under windows for Popup flag
Browse files Browse the repository at this point in the history
Ref #260
  • Loading branch information
algorys committed Mar 5, 2018
1 parent 3939306 commit d1d1220
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions alignak_app/qobjects/common/about.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ def initialize(self):

main_layout.addWidget(about_widget)

def show_about(self):
"""
TODO
"""

self.exec_()
self.show()

@staticmethod
def get_external_link_label(link, title=''):
"""
Expand Down
2 changes: 1 addition & 1 deletion alignak_app/qobjects/systray/tray_icon.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def add_about_menu(self):
self
)

self.qaction_factory.get_action('about').triggered.connect(self.app_about.show)
self.qaction_factory.get_action('about').triggered.connect(self.app_about.show_about)

self.menu.addAction(self.qaction_factory.get_action('about'))

Expand Down

0 comments on commit d1d1220

Please sign in to comment.