From f3f1d47f7d7f18bb0cb352c89a90de2b1574d33b Mon Sep 17 00:00:00 2001 From: eelke Date: Sun, 2 Oct 2022 12:20:36 +0200 Subject: [PATCH] connection details in window title --- pglab/DatabaseWindow.cpp | 2 +- .../connection-details-in-window-title-3628d3263f7beb46.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/connection-details-in-window-title-3628d3263f7beb46.yaml diff --git a/pglab/DatabaseWindow.cpp b/pglab/DatabaseWindow.cpp index c003c86..e1c1a3c 100644 --- a/pglab/DatabaseWindow.cpp +++ b/pglab/DatabaseWindow.cpp @@ -105,7 +105,7 @@ void DatabaseWindow::setConfig(const ConnectionConfig &config) try { QString title = "pglab - "; - title += m_config.name(); + title += m_config.makeLongDescription(); setWindowTitle(title); auto cfg = m_config; diff --git a/releasenotes/notes/connection-details-in-window-title-3628d3263f7beb46.yaml b/releasenotes/notes/connection-details-in-window-title-3628d3263f7beb46.yaml new file mode 100644 index 0000000..46b7305 --- /dev/null +++ b/releasenotes/notes/connection-details-in-window-title-3628d3263f7beb46.yaml @@ -0,0 +1,4 @@ +--- +other: + - | + The database connection window now contains connection details in the title.