Fix a few warnings

This commit is contained in:
eelke 2026-10-20 19:30:10 +02:00
parent 8a9cbce1cc
commit 1a1bbd0838
3 changed files with 4 additions and 3 deletions

View file

@ -439,7 +439,7 @@ void BackupDialog::on_btnStart_clicked()
QSettings user_settings; // Default constructor is for UserScope
QVariant var = user_settings.value("pg_tools_path", {});
QDir dir;
if (var.type() == QMetaType::QString) {
if (var.typeId() == QMetaType::QString) {
dir.setPath(var.toString());
}
if (!dir.exists() || !dir.exists("pg_dump.exe")) {