Commit 3bbae678 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

Revert "Fix KMainWindow::canBeRestored to return false in the right times"

This reverts commit 3e72053a.

This commit broke Dolphin's session restore feature. Clearly more
testing is needed and pushing this in right before tagging was a
parent f431b93e
......@@ -452,7 +452,7 @@ bool KMainWindow::canBeRestored(int number)
KConfigGroup group(config, "Number");
const int n = group.readEntry("NumberOfWindows", 0);
const int n = group.readEntry("NumberOfWindows", 1);
return number >= 1 && number <= n;
Markdown is supported
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