Improve dialog title when asking for CPAP data directory

Previously, window title just said "Find Directory" and users
    could be confused about what directory they were supposed to be
    looking for.
    Now, window title says "Find your CPAP data card".
This commit is contained in:
Guy Scharf 2021-06-06 18:00:33 -07:00
parent ec403a0c75
commit 7f6128fe24

View File

@ -1080,6 +1080,7 @@ QList<ImportPath> MainWindow::selectCPAPDataCards(const QString & prompt)
w.setDirectory(folder);
w.setFileMode(QFileDialog::Directory);
w.setOption(QFileDialog::ShowDirsOnly, true);
w.setWindowTitle(tr("Find your CPAP data card"));
// This doesn't work on WinXP