diff options
| author | Elvis Angelaccio <[email protected]> | 2018-07-29 23:37:34 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2018-07-29 23:37:34 +0200 |
| commit | 9be80423dcc9e5fb4261fa0823d8399bc07a6071 (patch) | |
| tree | b67ab6b710a7f90d5da00e3a75d996a3fc1f04f6 /src | |
| parent | 438f5993044395468b934c22f772120c70767592 (diff) | |
Drop redundant setAttribute for WA_DeleteOnClose
Every KMainWindow (which DolphinMainWindow inherits) already has this
attribute set.
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 1 |
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); |
