mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
plugin installer: use default flags (do not exclude close button)
This commit is contained in:
parent
06e3c725bc
commit
aa713ae50e
@ -248,8 +248,8 @@ class QgsPluginInstallerPluginErrorDialog(QDialog, Ui_QgsPluginInstallerPluginEr
|
||||
# --- class QgsPluginInstallerDialog ------------------------------------------------------------------------- #
|
||||
class QgsPluginInstallerDialog(QDialog, Ui_QgsPluginInstallerDialogBase):
|
||||
# ----------------------------------------- #
|
||||
def __init__(self, parent, fl):
|
||||
QDialog.__init__(self, parent, fl)
|
||||
def __init__(self, parent):
|
||||
QDialog.__init__(self, parent)
|
||||
self.setupUi(self)
|
||||
self.reposGroup = "/Qgis/plugin-repos"
|
||||
|
||||
|
@ -164,8 +164,7 @@ class InstallerPlugin():
|
||||
if QgsApplication.keyboardModifiers() == Qt.KeyboardModifiers(Qt.ShiftModifier):
|
||||
keepQuiet = True
|
||||
|
||||
flags = Qt.WindowTitleHint | Qt.WindowSystemMenuHint | Qt.WindowMaximizeButtonHint
|
||||
self.guiDlg = QgsPluginInstallerDialog(parent,flags)
|
||||
self.guiDlg = QgsPluginInstallerDialog(parent)
|
||||
self.guiDlg.show()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user