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:
zeljko 2008-02-03 09:57:05 +00:00
parent 7ea25e8927
commit 09c4368afe

View File

@ -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;