Qt: fixed compilation with QTOPIA define. issue #29379

git-svn-id: trunk@51264 -
This commit is contained in:
zeljko 2016-01-13 09:03:04 +00:00
parent 488a24c48b
commit 9f6df04a52

View File

@ -235,7 +235,7 @@ begin
if not FIsLibraryInstance then if not FIsLibraryInstance then
begin begin
{$IFDEF HAIKU} {$IF DEFINED(HAIKU) OR DEFINED(QTOPIA)}
FAppSessionQuit := nil; FAppSessionQuit := nil;
FAppSaveSessionRequest := nil; FAppSaveSessionRequest := nil;
{$ELSE} {$ELSE}
@ -1155,7 +1155,7 @@ begin
' errorInteraction ',dbgs(QSessionManager_allowsErrorInteraction(sessionManager)), ' errorInteraction ',dbgs(QSessionManager_allowsErrorInteraction(sessionManager)),
' phase2 ',dbgs(QSessionManager_isPhase2(sessionManager))); ' phase2 ',dbgs(QSessionManager_isPhase2(sessionManager)));
{$ENDIF} {$ENDIF}
{$IFNDEF HAIKU} {$IF NOT DEFINED(HAIKU) AND NOT DEFINED(QTOPIA)}
// if session manager does not allow interaction, then we close app without any intf calls // if session manager does not allow interaction, then we close app without any intf calls
if QSessionManager_allowsInteraction(sessionManager) then if QSessionManager_allowsInteraction(sessionManager) then
begin begin