Close and minimise buttons forced to appear on in the main Syncplay window

This commit is contained in:
Etoh 2013-10-16 18:16:03 +01:00
parent f46e4ae2c5
commit 520106c44e

View File

@ -425,5 +425,6 @@ class MainWindow(QtGui.QMainWindow):
self.addMainFrame(self)
self.loadSettings()
self.setWindowIcon(QtGui.QIcon(self.resourcespath + "syncplay.png"))
self.setWindowFlags(self.windowFlags() & Qt.WindowCloseButtonHint & Qt.WindowMinimizeButtonHint & ~Qt.WindowContextHelpButtonHint)
self.show()
self.setAcceptDrops(True)