diff --git a/src/CodeKeeper/settingsFunc/functional.cpp b/src/CodeKeeper/settingsFunc/functional.cpp index f649391f..d6f192fd 100644 --- a/src/CodeKeeper/settingsFunc/functional.cpp +++ b/src/CodeKeeper/settingsFunc/functional.cpp @@ -76,7 +76,7 @@ void SettingsWindow::saveData() void SettingsWindow::fopenFolder() { - QString str = QFileDialog::getExistingDirectory(0, "Select a directory"); + QString str = QFileDialog::getExistingDirectory(this, "Select Folder"); if (!str.isEmpty()) { qDebug() << str; globalSettings->setValue("path", str);