┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2018-07-29 23:37:34 +0200
committerElvis Angelaccio <[email protected]>2018-07-29 23:37:34 +0200
commit9be80423dcc9e5fb4261fa0823d8399bc07a6071 (patch)
treeb67ab6b710a7f90d5da00e3a75d996a3fc1f04f6 /src/main.cpp
parent438f5993044395468b934c22f772120c70767592 (diff)
Drop redundant setAttribute for WA_DeleteOnClose
Every KMainWindow (which DolphinMainWindow inherits) already has this attribute set.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a46b5e2d8..3db63eab0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -144,7 +144,6 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
}
DolphinMainWindow* mainWindow = new DolphinMainWindow();
- mainWindow->setAttribute(Qt::WA_DeleteOnClose);
if (parser.isSet(QStringLiteral("select"))) {
mainWindow->openFiles(urls, splitView);