summaryrefslogtreecommitdiff
path: root/ui/qt/main_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/main_window.cpp')
-rw-r--r--ui/qt/main_window.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index 1743bc8e8e..940a63c5c5 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -1896,16 +1896,15 @@ void MainWindow::setTitlebarForCaptureFile()
} else {
/* We have no capture file. */
setWindowFilePath(NULL);
- setWindowTitle(tr("The Wireshark Network Analyzer"));
+ setDefaultWindowTitle();
}
}
-void MainWindow::setTitlebarForSelectedTreeRow()
+void MainWindow::setDefaultWindowTitle()
{
setWindowTitle(tr("The Wireshark Network Analyzer"));
}
-
void MainWindow::setTitlebarForCaptureInProgress()
{
gchar *window_name;
@@ -1917,7 +1916,7 @@ void MainWindow::setTitlebarForCaptureInProgress()
g_free(window_name);
} else {
/* We have no capture in progress. */
- setWindowTitle(tr("The Wireshark Network Analyzer"));
+ setDefaultWindowTitle();
}
}