Drop redundant setAttribute for WA_DeleteOnClose

Every KMainWindow (which DolphinMainWindow inherits) already has this
attribute set.
This commit is contained in:
Elvis Angelaccio 2018-07-29 23:37:34 +02:00
parent 438f599304
commit 9be80423dc

View file

@ -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);