Commit 9cc4fe4d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

PLModel: formatting fixes

parent 465f5a01
......@@ -34,7 +34,7 @@
#include "dialogs/mediainfo.hpp" /* MediaInfo Dialog */
#include "dialogs/playlist.hpp" /* Playlist Dialog */
#include <vlc_intf_strings.h>
#include <vlc_intf_strings.h> /* I_DIR */
#include "pixmaps/types/type_unknown.xpm"
#include "sorting.h"
......@@ -516,9 +516,7 @@ QStringList PLModel::selectedURIs()
return lst;
}
/************************* Lookups *****************************/
PLItem *PLModel::findById( PLItem *root, int i_id ) const
{
return findInner( root, i_id, false );
......@@ -594,10 +592,8 @@ bool PLModel::canEdit() const
rootItem != NULL &&
(
rootItem->p_input == p_playlist->p_playing->p_input ||
(
p_playlist->p_media_library &&
rootItem->p_input == p_playlist->p_media_library->p_input
)
( p_playlist->p_media_library &&
rootItem->p_input == p_playlist->p_media_library->p_input )
)
);
}
......@@ -663,7 +659,6 @@ void PLModel::processItemAppend( int i_item, int i_parent )
emit currentChanged( index( newItem, 0 ) );
}
void PLModel::rebuild()
{
rebuild( NULL );
......
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