mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:39:31 +02:00
Qt: fixed compilation with QTOPIA define. issue #29379
git-svn-id: trunk@51264 -
This commit is contained in:
parent
488a24c48b
commit
9f6df04a52
@ -235,7 +235,7 @@ begin
|
||||
|
||||
if not FIsLibraryInstance then
|
||||
begin
|
||||
{$IFDEF HAIKU}
|
||||
{$IF DEFINED(HAIKU) OR DEFINED(QTOPIA)}
|
||||
FAppSessionQuit := nil;
|
||||
FAppSaveSessionRequest := nil;
|
||||
{$ELSE}
|
||||
@ -1155,7 +1155,7 @@ begin
|
||||
' errorInteraction ',dbgs(QSessionManager_allowsErrorInteraction(sessionManager)),
|
||||
' phase2 ',dbgs(QSessionManager_isPhase2(sessionManager)));
|
||||
{$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 QSessionManager_allowsInteraction(sessionManager) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user