mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-21 15:49:24 +01:00
qt: create application object in widgetset constructor instead of widgetset init method (fixes #0011173)
git-svn-id: trunk@14895 -
This commit is contained in:
parent
481f2563c1
commit
a311f2ef86
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user