mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 12:19:21 +02:00
Fixes the fix for qt compilation.
git-svn-id: trunk@10675 -
This commit is contained in:
parent
2528d9227a
commit
23272ca9b2
@ -166,7 +166,12 @@ begin
|
||||
if not QVariant_IsNull(v) and QVariant_isValid(V) then
|
||||
begin
|
||||
//Write('Got a valid variant .. ');
|
||||
QtWg := TQtWidget(PtrInt(QVariant_toUint(V, @Ok)));
|
||||
{$IFDEF CPU32}
|
||||
QtWg := TQtWidget(QVariant_toUint(V, @Ok));
|
||||
{$ENDIF}
|
||||
{$IFDEF CPU64}
|
||||
QtWg := TQtWidget(QVariant_toULongLong(V, @Ok));
|
||||
{$ENDIF}
|
||||
if OK then
|
||||
begin
|
||||
//Write('Converted successfully, Control=');
|
||||
|
Loading…
Reference in New Issue
Block a user