Commit 7957fddc authored by Scott Wheeler's avatar Scott Wheeler
Browse files

CVS_SILENT indentation cleanups

svn path=/trunk/kdemultimedia/juk/; revision=231403
parent 9ed55482
...@@ -222,7 +222,7 @@ void PlaylistBox::save(Item *item) ...@@ -222,7 +222,7 @@ void PlaylistBox::save(Item *item)
void PlaylistBox::saveAs(Item *item) void PlaylistBox::saveAs(Item *item)
{ {
kdDebug(65432) << "saveAs() - " << bool(item) << endl; // kdDebug(65432) << "saveAs() - " << bool(item) << endl;
if(item) if(item)
item->playlist()->saveAs(); item->playlist()->saveAs();
} }
......
...@@ -183,6 +183,8 @@ TreeViewMode::~TreeViewMode() ...@@ -183,6 +183,8 @@ TreeViewMode::~TreeViewMode()
void TreeViewMode::setShown(bool show) void TreeViewMode::setShown(bool show)
{ {
playlistBox()->setRootIsDecorated(show);
if(show) { if(show) {
updateIcons(16); updateIcons(16);
...@@ -215,8 +217,6 @@ void TreeViewMode::setShown(bool show) ...@@ -215,8 +217,6 @@ void TreeViewMode::setShown(bool show)
for(QDictIterator<PlaylistBox::Item> it(m_categories); it.current(); ++it) for(QDictIterator<PlaylistBox::Item> it(m_categories); it.current(); ++it)
it.current()->setVisible(false); it.current()->setVisible(false);
} }
playlistBox()->setRootIsDecorated(show);
} }
void TreeViewMode::setupCategory(PlaylistBox::Item *parent, const QStringList &members) const void TreeViewMode::setupCategory(PlaylistBox::Item *parent, const QStringList &members) const
......
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