From 82139fe7df3f0c0e0aa8439ec9a811e93df185b3 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Mon, 24 Jun 2019 18:13:32 -0700 Subject: [PATCH] added UpdateTitle() documentation --- app/widget/panel/panel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/widget/panel/panel.cpp b/app/widget/panel/panel.cpp index 47faac5db..55c0a9996 100644 --- a/app/widget/panel/panel.cpp +++ b/app/widget/panel/panel.cpp @@ -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 {