Fix a few warnings
This commit is contained in:
parent
8a9cbce1cc
commit
1a1bbd0838
3 changed files with 4 additions and 3 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue