Don't leak huge amount of memory in SkinChooser
This commit is contained in:
parent
19cafc34e1
commit
f64f4748a3
3 changed files with 17 additions and 13 deletions
4
Skin.cpp
4
Skin.cpp
|
@ -132,8 +132,6 @@ Skin::getPixmap (QString f, QDir dir)
|
|||
QPixmap *
|
||||
Skin::getPixmap (string file)
|
||||
{
|
||||
/* check for files in zip and check if file exists */
|
||||
|
||||
QDir dir;
|
||||
QString f = QString::fromStdString (file);
|
||||
|
||||
|
@ -149,8 +147,6 @@ Skin::getPixmap (string file)
|
|||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
/*return new QPixmap ((m_path+file).c_str());*/
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue