Qt: Dynamically set our "Welcome to" banner in WelcomePage.
This commit is contained in:
parent
dceffb8e56
commit
6d2ab6900f
@ -59,6 +59,8 @@ WelcomePage::WelcomePage(QWidget *parent) :
|
|||||||
|
|
||||||
welcome_ui_->captureFilterComboBox->setEnabled(false);
|
welcome_ui_->captureFilterComboBox->setEnabled(false);
|
||||||
|
|
||||||
|
welcome_ui_->mainWelcomeBanner->setText(tr("Welcome to %1").arg(mainApp->applicationName()));
|
||||||
|
|
||||||
updateStyleSheets();
|
updateStyleSheets();
|
||||||
|
|
||||||
|
|
||||||
|
@ -2382,7 +2382,7 @@ QString LogwolfMainWindow::replaceWindowTitleVariables(QString title)
|
|||||||
void LogwolfMainWindow::setWSWindowTitle(QString title)
|
void LogwolfMainWindow::setWSWindowTitle(QString title)
|
||||||
{
|
{
|
||||||
if (title.isEmpty()) {
|
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]) {
|
if (prefs.gui_prepend_window_title && prefs.gui_prepend_window_title[0]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user