From 9a162a7161490d7b3966bb1e46e1c9590ddae3ae Mon Sep 17 00:00:00 2001 From: Peter L Jones Date: Sun, 14 Jan 2024 12:48:52 +0000 Subject: [PATCH] Rename lblList to lblDirectory (to match cbx) --- src/connectdlg.cpp | 10 +++++----- src/connectdlgbase.ui | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/connectdlg.cpp b/src/connectdlg.cpp index 1c02a1a2a1..84bb4b65a5 100644 --- a/src/connectdlg.cpp +++ b/src/connectdlg.cpp @@ -45,13 +45,13 @@ CConnectDlg::CConnectDlg ( CClientSettings* pNSetP, const bool bNewShowCompleteR QString strDirectoryWT = "" + tr ( "Directory" ) + ": " + tr ( "Shows the servers listed by the selected directory. " "You can add custom directories in Advanced Settings." ); - QString strDirectoryAN = tr ( "Directory combo box" ); - - lblList->setWhatsThis ( strDirectoryWT ); - lblList->setToolTip ( strDirectoryWT ); - lblList->setAccessibleName ( strDirectoryAN ); + lblDirectory->setWhatsThis ( strDirectoryWT ); + lblDirectory->setToolTip ( strDirectoryWT ); cbxDirectory->setWhatsThis ( strDirectoryWT ); cbxDirectory->setToolTip ( strDirectoryWT ); + + QString strDirectoryAN = tr ( "Directory combo box" ); + lblDirectory->setAccessibleName ( strDirectoryAN ); cbxDirectory->setAccessibleName ( strDirectoryAN ); // filter diff --git a/src/connectdlgbase.ui b/src/connectdlgbase.ui index 777b4f0848..0e2e514748 100644 --- a/src/connectdlgbase.ui +++ b/src/connectdlgbase.ui @@ -30,7 +30,7 @@ 0 - + Directory