Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KDiskFree
Commits
c2464481
Commit
c2464481
authored
Mar 11, 2002
by
Laurent Montel
Browse files
Fix mem leak found by valgrind
svn path=/branches/KDE_2_2_BRANCH/kdeutils/kdf/; revision=142411
parent
ded96d5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
listview.cpp
View file @
c2464481
...
...
@@ -92,11 +92,12 @@ const QPixmap &CListView::icon( const QString &iconName, bool drawBorder )
qp
.
end
();
pix
->
setMask
(
*
bm
);
}
QPainter
qp
(
pix
);
qp
.
setPen
(
QPen
(
red
,
1
));
qp
.
drawRect
(
0
,
0
,
pix
->
width
(),
pix
->
height
());
qp
.
end
();
delete
bm
;
}
}
mPixDict
.
replace
(
iconName
,
pix
);
...
...
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