Qt: apply invalid qt position only in case of kde session v.3

git-svn-id: trunk@51897 -
This commit is contained in:
zeljko 2016-03-10 10:44:23 +00:00
parent 1343b1dd2f
commit de0a7494b4

View File

@ -4013,7 +4013,7 @@ begin
{$ENDIF}
{TODO: KWin4 is find with FFormHasInvalidPosition := True, but gtk based wm's like
xfce,gnome-shell and cinnamon and kwin5 aren''t, so we must use code below.}
if (GetKdeSessionVersion = 3) or (GetKdeSessionVersion = 4) then
if (GetKdeSessionVersion = 3) then
TQtMainWindow(Self).FFormHasInvalidPosition := True
else
begin