mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 05:02:25 +02:00
Qt: bugfix - QPainter::begin: Widget painting can only begin as a result of a paintEvent while application starts.
git-svn-id: trunk@13962 -
This commit is contained in:
parent
7ea25e8927
commit
09c4368afe
@ -575,7 +575,7 @@ end;
|
||||
function QtScreenContext: TQtDeviceContext;
|
||||
begin
|
||||
if FScreenContext = nil then
|
||||
FScreenContext := TQtDeviceContext.Create(QApplication_desktop(), True);
|
||||
FScreenContext := TQtDeviceContext.Create(QApplication_desktop(), False);
|
||||
Result := FScreenContext;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user