1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-21 22:50:14 +03:00

reduce warnings

This commit is contained in:
Michail Vourlakos 2017-05-17 15:41:16 +03:00
parent abc45e4c4d
commit ede4eb6496

View File

@ -108,8 +108,8 @@ MouseArea{
property string activity: tasksModel.activity
readonly property var m: model
readonly property int pid: model.AppPid
readonly property string appName: model.AppName
readonly property int pid: model && model.AppPid ? model.AppPid : -1
readonly property string appName: model && model.AppName ? model.AppName : ""
property string modelLauncherUrl: (LauncherUrlWithoutIcon !== null) ? LauncherUrlWithoutIcon : ""
property string modelLauncherUrlWithIcon: (LauncherUrl !== null) ? LauncherUrl : ""