mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 15:59:08 +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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user