Close button forced to appear on Configuration window

This commit is contained in:
Etoh 2013-10-16 18:10:07 +01:00
parent 706953d758
commit f46e4ae2c5

View File

@ -257,7 +257,7 @@ class ConfigDialog(QtGui.QDialog):
super(ConfigDialog, self).__init__() super(ConfigDialog, self).__init__()
self.setWindowTitle(getMessage("en", "config-window-title")) self.setWindowTitle(getMessage("en", "config-window-title"))
self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint) self.setWindowFlags(self.windowFlags() & Qt.WindowCloseButtonHint & ~Qt.WindowContextHelpButtonHint)
self.setWindowIcon(QtGui.QIcon(resourcespath + "syncplay.png")) self.setWindowIcon(QtGui.QIcon(resourcespath + "syncplay.png"))
if(config['host'] == None): if(config['host'] == None):