Sun, 12 Jan 2014 18:31:15 +0100
Removed all code setting the Qt.WA_DeleteOnClose widget attribute.
--- a/E5Network/E5NetworkMonitor.py Sun Jan 12 18:02:33 2014 +0100 +++ b/E5Network/E5NetworkMonitor.py Sun Jan 12 18:31:15 2014 +0100 @@ -50,7 +50,6 @@ """ if cls._monitor is None: cls._monitor = E5NetworkMonitor(networkAccessManager) - cls._monitor.setAttribute(Qt.WA_DeleteOnClose, True) return cls._monitor
--- a/E5Network/E5SslInfoWidget.py Sun Jan 12 18:02:33 2014 +0100 +++ b/E5Network/E5SslInfoWidget.py Sun Jan 12 18:31:15 2014 +0100 @@ -32,7 +32,6 @@ self.__url = QUrl(url) self.__configuration = QSslConfiguration(configuration) - self.setAttribute(Qt.WA_DeleteOnClose) self.setMinimumWidth(400) certList = self.__configuration.peerCertificateChain()
--- a/Helpviewer/HelpWindow.py Sun Jan 12 18:02:33 2014 +0100 +++ b/Helpviewer/HelpWindow.py Sun Jan 12 18:31:15 2014 +0100 @@ -2131,7 +2131,6 @@ """ from .Bookmarks.BookmarksDialog import BookmarksDialog self.__bookmarksDialog = BookmarksDialog(self) - self.__bookmarksDialog.setAttribute(Qt.WA_DeleteOnClose) self.__bookmarksDialog.openUrl.connect(self.openUrl) self.__bookmarksDialog.newUrl.connect(self.openUrlNewTab) self.__bookmarksDialog.show() @@ -3459,7 +3458,6 @@ """ from .SiteInfo.SiteInfoDialog import SiteInfoDialog self.__siteinfoDialog = SiteInfoDialog(self.currentBrowser(), self) - self.__siteinfoDialog.setAttribute(Qt.WA_DeleteOnClose) self.__siteinfoDialog.show() @classmethod
--- a/Helpviewer/History/HistoryMenu.py Sun Jan 12 18:02:33 2014 +0100 +++ b/Helpviewer/History/HistoryMenu.py Sun Jan 12 18:31:15 2014 +0100 @@ -365,7 +365,6 @@ """ from .HistoryDialog import HistoryDialog dlg = HistoryDialog(self) - dlg.setAttribute(Qt.WA_DeleteOnClose) dlg.newUrl.connect(self.newUrl) dlg.openUrl.connect(self.openUrl) dlg.show()
--- a/IconEditor/IconEditorWindow.py Sun Jan 12 18:02:33 2014 +0100 +++ b/IconEditor/IconEditorWindow.py Sun Jan 12 18:31:15 2014 +0100 @@ -52,7 +52,6 @@ """ super().__init__(parent) self.setObjectName("eric5_icon_editor") - self.setAttribute(Qt.WA_DeleteOnClose) self.fromEric = fromEric self.initShortcutsOnly = initShortcutsOnly
--- a/Plugins/ViewManagerPlugins/Listspace/Listspace.py Sun Jan 12 18:02:33 2014 +0100 +++ b/Plugins/ViewManagerPlugins/Listspace/Listspace.py Sun Jan 12 18:31:15 2014 +0100 @@ -32,7 +32,6 @@ @param parent parent widget (QWidget) """ super().__init__(parent) - self.setAttribute(Qt.WA_DeleteOnClose, True) self.editors = []
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py Sun Jan 12 18:02:33 2014 +0100 +++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py Sun Jan 12 18:31:15 2014 +0100 @@ -156,7 +156,6 @@ @param vm view manager widget (Tabview) """ super().__init__() - self.setAttribute(Qt.WA_DeleteOnClose, True) self.__tabBar = TabBar(self) self.setTabBar(self.__tabBar)
--- a/QScintilla/Editor.py Sun Jan 12 18:02:33 2014 +0100 +++ b/QScintilla/Editor.py Sun Jan 12 18:31:15 2014 +0100 @@ -142,7 +142,6 @@ @exception IOError raised to indicate an issue accessing the file """ super().__init__() -## self.setAttribute(Qt.WA_DeleteOnClose) self.setAttribute(Qt.WA_KeyCompression) self.setUtf8(True)
--- a/QScintilla/MiniEditor.py Sun Jan 12 18:02:33 2014 +0100 +++ b/QScintilla/MiniEditor.py Sun Jan 12 18:31:15 2014 +0100 @@ -108,7 +108,6 @@ super().__init__(parent) if name is not None: self.setObjectName(name) - self.setAttribute(Qt.WA_DeleteOnClose) self.setWindowIcon(UI.PixmapCache.getIcon("editor.png")) self.setStyle(Preferences.getUI("Style"),
--- a/Tools/TRPreviewer.py Sun Jan 12 18:02:33 2014 +0100 +++ b/Tools/TRPreviewer.py Sun Jan 12 18:31:15 2014 +0100 @@ -53,7 +53,6 @@ Preferences.getUI("StyleSheet")) self.resize(QSize(800, 600).expandedTo(self.minimumSizeHint())) - self.setAttribute(Qt.WA_DeleteOnClose) self.statusBar() self.setWindowIcon(UI.PixmapCache.getIcon("eric.png")) @@ -680,7 +679,6 @@ if name: self.setObjectName(name) self.setWindowTitle(name) - self.setAttribute(Qt.WA_DeleteOnClose) self.__widget = None self.__uiFileName = uiFileName
--- a/Tools/UIPreviewer.py Sun Jan 12 18:02:33 2014 +0100 +++ b/Tools/UIPreviewer.py Sun Jan 12 18:31:15 2014 +0100 @@ -48,7 +48,6 @@ Preferences.getUI("StyleSheet")) self.resize(QSize(600, 480).expandedTo(self.minimumSizeHint())) - self.setAttribute(Qt.WA_DeleteOnClose) self.statusBar() self.setWindowIcon(UI.PixmapCache.getIcon("eric.png"))