Paste P488

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Nov 1 2019, 1:52 PM.
diff --git a/src/kmainwindow.cpp b/src/kmainwindow.cpp
index d100e2e..be2691a 100644
--- a/src/kmainwindow.cpp
+++ b/src/kmainwindow.cpp
@@ -438,9 +438,9 @@ QMenu *KMainWindow::customHelpMenu(bool showWhatsThis)
bool KMainWindow::canBeRestored(int number)
{
- if (!qApp->isSessionRestored()) {
- return false;
- }
+// if (!qApp->isSessionRestored()) {
+// return false;
+// }
KConfig *config = KConfigGui::sessionConfig();
if (!config) {
return false;
@@ -453,9 +453,9 @@ bool KMainWindow::canBeRestored(int number)
const QString KMainWindow::classNameOfToplevel(int number)
{
- if (!qApp->isSessionRestored()) {
- return QString();
- }
+// if (!qApp->isSessionRestored()) {
+// return QString();
+// }
KConfig *config = KConfigGui::sessionConfig();
if (!config) {
return QString();
davidedmundson edited the content of this paste. (Show Details)Nov 1 2019, 1:52 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.