fix #446,fix crash from groupDialog in 5.8

--this situation with libtaskmanager and crashing
from groupDialog wrong initialization is also
in plasma 5.8... I hope we catch all the cases...
v0.6
Michail Vourlakos 8 years ago
parent f8261fd265
commit c204ad0ce8

@ -494,9 +494,9 @@ Item {
//! work only after Plasma 5.9 and frameworks 5.29 //! work only after Plasma 5.9 and frameworks 5.29
//! + added a check for groupDialog also when it is present //! + added a check for groupDialog also when it is present
//! in plasma 5.8 (that was introduced after 5.8.5) //! in plasma 5.8 (that was introduced after 5.8.5)
if (Latte.WindowSystem.frameworksVersion >= 335104 || (groupDialog !== undefined)) { //if (Latte.WindowSystem.frameworksVersion >= 335104 || (groupDialog !== undefined)) {
groupDialog = groupDialogGhost; groupDialog = groupDialogGhost;
} //}
} }
} }

Loading…
Cancel
Save