Commit 437c3166 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remove unneeded code

parent 19acda05
......@@ -73,15 +73,12 @@ PLItem::~PLItem()
children.clear();
}
/* So far signal is always true.
Using signal false would not call PLModel... Why ?
*/
void PLItem::insertChild( PLItem *item, int i_pos, bool signal )
void PLItem::insertChild( PLItem *item, int i_pos )
{
children.insert( i_pos, item );
}
void PLItem::appendChild( PLItem *item, bool signal )
void PLItem::appendChild( PLItem *item )
{
children.insert( children.count(), item );
}
......
......@@ -39,8 +39,8 @@ public:
int row() const;
void insertChild( PLItem *, int pos, bool signal = true );
void appendChild( PLItem *item, bool signal = true );
void insertChild( PLItem *, int pos );
void appendChild( PLItem *item );
void removeChild( PLItem * );
void removeChildren();
void takeChildAt( int );
......
......@@ -87,12 +87,12 @@ void MainInterface::createTaskBarButtons()
{
p_taskbl->vt->HrInit(p_taskbl);
if(himl = ImageList_Create( 20, //cx
if( (himl = ImageList_Create( 20, //cx
20, //cy
ILC_COLOR32,//flags
4,//initial nb of images
0//nb of images that can be added
))
) ) != NULL )
{
QPixmap img = QPixmap(":/win7/prev");
QPixmap img2 = QPixmap(":/win7/pause");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment