Do not save window size from special (no toolbar) poup windows
Review Request #105841 - Created Aug. 3, 2012 and discarded
Now that the special window popup scenario has been dealt with, the attached one liner attempts to resolve the issue of the size of such poup windows being saved whenver "setAutoSaveSettings" is invoked.
How does this relate to the call to mainWindow->resetAutoSaveSettings(); // Don't autosave in KonqMainWindow::slotCreateNewWindow? It's kind of the same idea. Well, in fact no, it's better ;) You're only setting "save window size" to false, while "resetAutoSaveSettings" means "don't autosave anything, not even toolbar placement or anything". I guess what this means is: if the new bool is only set in slotCreateNewWindow then the existing resetAutoSaveSettings is fine, otherwise it needs to be done elsewhere too. The code in setProfileConfig is about loading the default settings (from the profile), but I guess there isn't much to load for "popup windows without toolbars" indeed. (e.g. if someone had the sidebar enabled in the profile, it should probably not show up in such windows). So maybe rather a if() in that method.