diff options
author | Gerald Combs <gerald@wireshark.org> | 2022-02-10 17:45:31 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2022-04-04 09:39:27 -0700 |
commit | 6d2ab6900ff68726e1b59fe3c2056f814f386f9c (patch) | |
tree | f2f96aea8ac42e7db584ba7b0dd27a41d4950f4e | |
parent | dceffb8e565b9d66fc1adbc0c24223e1298cb1c6 (diff) |
Qt: Dynamically set our "Welcome to" banner in WelcomePage.
-rw-r--r-- | ui/qt/welcome_page.cpp | 2 | ||||
-rw-r--r-- | ui/qt_logshark/logwolf_main_window.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ui/qt/welcome_page.cpp b/ui/qt/welcome_page.cpp index 33c987dcb5..73d277f5b6 100644 --- a/ui/qt/welcome_page.cpp +++ b/ui/qt/welcome_page.cpp @@ -59,6 +59,8 @@ WelcomePage::WelcomePage(QWidget *parent) : welcome_ui_->captureFilterComboBox->setEnabled(false); + welcome_ui_->mainWelcomeBanner->setText(tr("Welcome to %1").arg(mainApp->applicationName())); + updateStyleSheets(); diff --git a/ui/qt_logshark/logwolf_main_window.cpp b/ui/qt_logshark/logwolf_main_window.cpp index 71fa06563d..ab009f7434 100644 --- a/ui/qt_logshark/logwolf_main_window.cpp +++ b/ui/qt_logshark/logwolf_main_window.cpp @@ -2382,7 +2382,7 @@ QString LogwolfMainWindow::replaceWindowTitleVariables(QString title) void LogwolfMainWindow::setWSWindowTitle(QString title) { if (title.isEmpty()) { - title = tr("The Wireshark Network Analyzer"); + title = tr("The Logwolf System Log Analyzer"); } if (prefs.gui_prepend_window_title && prefs.gui_prepend_window_title[0]) { |