Commit 9b4308cb authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: cleanup plitem

parent faf3eabb
......@@ -86,7 +86,7 @@ void PLItem::insertChild( PLItem *item, int i_pos, bool signal )
void PLItem::remove( PLItem *removed, int i_depth )
{
if( i_depth == DEPTH_SEL || parentItem )
if( i_depth == 1 /* DEPTH_SEL */ || parentItem )
{
int i_index = parentItem->children.indexOf( removed );
parentItem->children.removeAt( i_index );
......
......@@ -28,13 +28,8 @@
# include "config.h"
#endif
#include "components/playlist/playlist_model.hpp"
#include <QString>
#include <QList>
class QSettings;
class PLModel;
class PLItem
{
......
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