mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-08 12:53:59 +02:00
add parent to dialog box
This commit is contained in:
parent
4b73d98c11
commit
015144598c
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Main(QMainWindow):
|
|||
|
||||
@pyqtSlot()
|
||||
def on_btnAbout_clicked(self):
|
||||
box = QMessageBox(QMessageBox.NoIcon, "About EduBRM", "EduBRM by Hackerspace brmlab\n\nhttp://brmlab.cz/\n\nSee README for more information.", QMessageBox.Ok)
|
||||
box = QMessageBox(QMessageBox.NoIcon, "About EduBRM", "EduBRM by Hackerspace brmlab\n\nhttp://brmlab.cz/\n\nSee README for more information.", QMessageBox.Ok, self)
|
||||
box.setIconPixmap(QPixmap( ":/icons/icon.png"))
|
||||
box.exec_()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue