[Start] add Tooltip to show full path when the ShortCustomFolder is true

This commit is contained in:
Syres916
2025-06-08 18:43:11 +01:00
committed by Kacper Donat
parent 26f18a298e
commit 3eb160ac87

View File

@@ -448,6 +448,7 @@ void StartView::retranslateUi()
bool shortCustomFolder = hGrp->GetBool("ShortCustomFolder", true); // false shows full path
if (!customFolder.empty()) {
if (shortCustomFolder) {
_customFolderLabel->setToolTip(QString::fromUtf8(customFolder.c_str()));
customFolder = customFolder.substr(customFolder.find_last_of("/\\") + 1);
}
_customFolderLabel->setText(h1Start + QString::fromUtf8(customFolder.c_str()) + h1End);