Skip to content

Commit

Permalink
plugin installer: use default flags (do not exclude close button)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jan 6, 2012
1 parent 06e3c72 commit aa713ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/plugins/plugin_installer/installer_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ def __init__(self, parent, errorMessage):
# --- 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"

Expand Down
3 changes: 1 addition & 2 deletions python/plugins/plugin_installer/installer_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ def run(self, parent = None):
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()


Expand Down

0 comments on commit aa713ae

Please sign in to comment.