From 09c4368afefc3273b84a2627f3ad0c0dd94bca21 Mon Sep 17 00:00:00 2001 From: zeljko Date: Sun, 3 Feb 2008 09:57:05 +0000 Subject: [PATCH] Qt: bugfix - QPainter::begin: Widget painting can only begin as a result of a paintEvent while application starts. git-svn-id: trunk@13962 - --- lcl/interfaces/qt/qtobjects.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/interfaces/qt/qtobjects.pas b/lcl/interfaces/qt/qtobjects.pas index 82307057fa..66e196f678 100644 --- a/lcl/interfaces/qt/qtobjects.pas +++ b/lcl/interfaces/qt/qtobjects.pas @@ -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;