Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
FPC
Lazarus
Lazarus
Commits
c55e1a9c
Commit
c55e1a9c
authored
Mar 12, 2015
by
Željan Rikalo
🏊🏼
Browse files
Qt: fixed returning empty rect for TListView.ItemDisplayRect when using drIcon. issue
#27659
git-svn-id: trunk@48303 -
parent
e3541a5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lcl/interfaces/qt/qtwscomctrls.pp
View file @
c55e1a9c
...
...
@@ -1602,7 +1602,7 @@ begin
try
QListWidgetItem_icon
(
LWI
,
AIcon
);
if
QIcon_isNull
(
AIcon
)
then
IconRect
:=
Rect
(
Result
.
Left
,
Result
.
Top
,
Result
.
Lef
t
,
Result
.
Top
)
IconRect
:=
Rect
(
Result
.
Left
,
Result
.
Top
,
Result
.
Righ
t
,
Result
.
Bottom
)
else
begin
Size
.
cx
:=
0
;
...
...
@@ -1664,7 +1664,7 @@ begin
try
QTreeWidgetItem_icon
(
TWI
,
AIcon
,
ASubItem
);
if
QIcon_isNull
(
AIcon
)
then
IconRect
:=
Rect
(
Result
.
Left
,
Result
.
Top
,
Result
.
Lef
t
,
Result
.
Top
)
IconRect
:=
Rect
(
Result
.
Left
,
Result
.
Top
,
Result
.
Righ
t
,
Result
.
Bottom
)
else
begin
Size
.
cx
:=
0
;
...
...
FPC Admin account
@fpc_admin
mentioned in issue
#27659 (closed)
·
Jul 29, 2021
mentioned in issue
#27659 (closed)
mentioned in issue #27659
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment