qt: create application object in widgetset constructor instead of widgetset init method (fixes #0011173)

git-svn-id: trunk@14895 -
This commit is contained in:
paul 2008-04-19 17:28:56 +00:00
parent 481f2563c1
commit a311f2ef86

View File

@ -26,6 +26,7 @@ constructor TQtWidgetSet.Create;
begin
inherited Create;
App := QApplication_Create(@argc, argv);
InitStockItems;
QtWidgetSet := Self;
FDockImage := nil;
@ -99,7 +100,6 @@ var
Method: TMethod;
ScreenDC: HDC;
begin
App := QApplication_Create(@argc, argv);
WakeMainThread := @OnWakeMainThread;
FOldFocusWidget := nil;