mirror of
https://invent.kde.org/system/dolphin
synced 2024-07-15 18:01:11 +00:00
Drop redundant setAttribute for WA_DeleteOnClose
Every KMainWindow (which DolphinMainWindow inherits) already has this attribute set.
This commit is contained in:
parent
438f599304
commit
9be80423dc
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue