correctly update the panel subtitles based on the media connected

This commit is contained in:
itsmattkc
2020-01-16 14:57:16 +11:00
parent 6771a2f1cb
commit c6710b1359
17 changed files with 99 additions and 25 deletions
+6
View File
@@ -95,6 +95,8 @@ const QString &Item::name() const
void Item::set_name(const QString &n)
{
name_ = n;
NameChangedEvent(n);
}
const QString &Item::tooltip() const
@@ -155,6 +157,10 @@ bool Item::ChildExistsWithName(const QString &name)
return ChildExistsWithNameInternal(name, this);
}
void Item::NameChangedEvent(const QString &name)
{
}
bool Item::ChildExistsWithNameInternal(const QString &name, Item *folder)
{
// Loop through all children