From 7f6128fe24c7f1dc65597dff1dae1057dc5c4129 Mon Sep 17 00:00:00 2001 From: Guy Scharf <guy.oscar@moxis.com> Date: Sun, 6 Jun 2021 18:00:33 -0700 Subject: [PATCH] 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". --- oscar/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/oscar/mainwindow.cpp b/oscar/mainwindow.cpp index 062e9e08..3739d245 100644 --- a/oscar/mainwindow.cpp +++ b/oscar/mainwindow.cpp @@ -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