playlist editor: fix shadow warning
This commit is contained in:
@@ -175,16 +175,16 @@ void PlaylistEditor::update()
|
|||||||
}
|
}
|
||||||
if (idx < Content.size())
|
if (idx < Content.size())
|
||||||
Content.resizeList(idx);
|
Content.resizeList(idx);
|
||||||
std::string title;
|
std::string wtitle;
|
||||||
if (Config.titles_visibility)
|
if (Config.titles_visibility)
|
||||||
{
|
{
|
||||||
title = (boost::format("Playlist content (%1%) %2%")
|
wtitle = (boost::format("Playlist content (%1%) %2%")
|
||||||
% boost::lexical_cast<std::string>(Content.size())
|
% boost::lexical_cast<std::string>(Content.size())
|
||||||
% (Content.size() == 1 ? "item" : "items")
|
% (Content.size() == 1 ? "item" : "items")
|
||||||
).str();
|
).str();
|
||||||
title.resize(Content.getWidth());
|
wtitle.resize(Content.getWidth());
|
||||||
}
|
}
|
||||||
Content.setTitle(title);
|
Content.setTitle(wtitle);
|
||||||
}
|
}
|
||||||
Content.display();
|
Content.display();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user