added UpdateTitle() documentation

This commit is contained in:
itsmattkc
2019-06-24 18:13:32 -07:00
parent dfb75c5d2b
commit 82139fe7df
+2
View File
@@ -67,6 +67,8 @@ void PanelWidget::paintEvent(QPaintEvent *event)
void PanelWidget::UpdateTitle()
{
// If there's no subtitle, just use the title. Otherwise, we set a formatted combination of the two that can
// differ based on translation
if (subtitle_.isEmpty()) {
setWindowTitle(title_);
} else {