Commit b57cccd5 authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Revert "Manual resizing is only needs to be checked and performed once"

Well, I was stupid :(

This reverts commit a66098d9.
parent fec744bf
......@@ -271,6 +271,10 @@ void Application::createTabFromArgs(KCmdLineArgs* args, MainWindow* window,
if (!args->isSet("close")) {
session->setAutoClose(false);
}
if (!window->testAttribute(Qt::WA_Resized)) {
window->resize(window->sizeHint());
}
}
MainWindow* Application::processWindowArgs(KCmdLineArgs* args)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment