Prevent stale log and history dialogs

Need to pass mainwindow as parent to these dialogs so they quit
with the main window. This bug was introduced in -> 3f2f0f3.
This commit is contained in:
Rahul Raturi
2016-06-21 20:15:04 +05:30
parent 5cf0ceb0f0
commit 2fa3bbb33f

View File

@@ -107,8 +107,8 @@ class MainWindow(QtGui.QMainWindow):
if not self.show_cover_art_action.isChecked():
self.cover_art_box.hide()
self.logDialog = LogView()
self.historyDialog = HistoryView()
self.logDialog = LogView(self)
self.historyDialog = HistoryView(self)
bottomLayout = QtGui.QHBoxLayout()
bottomLayout.setContentsMargins(0, 0, 0, 0)