connection details in window title

This commit is contained in:
eelke 2022-10-02 12:20:36 +02:00
parent f253a6c9ff
commit f3f1d47f7d
2 changed files with 5 additions and 1 deletions

View file

@ -105,7 +105,7 @@ void DatabaseWindow::setConfig(const ConnectionConfig &config)
try try
{ {
QString title = "pglab - "; QString title = "pglab - ";
title += m_config.name(); title += m_config.makeLongDescription();
setWindowTitle(title); setWindowTitle(title);
auto cfg = m_config; auto cfg = m_config;

View file

@ -0,0 +1,4 @@
---
other:
- |
The database connection window now contains connection details in the title.