Don't leak huge amount of memory in SkinChooser

This commit is contained in:
Tobias Rundstrom 2006-02-27 20:06:40 -03:00
parent 19cafc34e1
commit f64f4748a3
3 changed files with 17 additions and 13 deletions

View file

@ -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());*/
}