Paste P348

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Mar 19 2019, 9:27 AM.
diff --git a/src/kcmultidialog.cpp b/src/kcmultidialog.cpp
index 9ddd43b..f65e70a 100644
--- a/src/kcmultidialog.cpp
+++ b/src/kcmultidialog.cpp
@@ -108,7 +108,7 @@ void KCMultiDialogPrivate::_k_slotCurrentPageChanged(KPageWidgetItem *current, K
// TODO KF6 Fix this situation.
- if (currentModule->realModule() && currentModule->realModule()->inherits("KCModuleQml")) {
+ if (currentModule && currentModule->realModule() && currentModule->realModule()->inherits("KCModuleQml")) {
bool padHackLeft = false;
bool padHackRight = false;
if (q->pageWidget()->model()->rowCount() < 2) {
davidedmundson edited the content of this paste. (Show Details)Mar 19 2019, 9:27 AM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.