File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ void PreferencesDialog::loadSettings()
7575{
7676 ui->encodingComboBox ->setCurrentIndex (ui->encodingComboBox ->findText (Settings::getValue (" db" , " defaultencoding" ).toString (), Qt::MatchFixedString));
7777 ui->comboDefaultLocation ->setCurrentIndex (Settings::getValue (" db" , " savedefaultlocation" ).toInt ());
78- ui->locationEdit ->setText (Settings::getValue (" db" , " defaultlocation" ).toString ());
78+ ui->locationEdit ->setText (QDir::toNativeSeparators ( Settings::getValue (" db" , " defaultlocation" ).toString () ));
7979 ui->checkUpdates ->setChecked (Settings::getValue (" checkversion" , " enabled" ).toBool ());
8080
8181 ui->checkHideSchemaLinebreaks ->setChecked (Settings::getValue (" db" , " hideschemalinebreaks" ).toBool ());
@@ -169,7 +169,7 @@ void PreferencesDialog::loadSettings()
169169 addClientCertToTable (file, cert);
170170 }
171171 }
172- ui->editRemoteCloneDirectory ->setText (Settings::getValue (" remote" , " clonedirectory" ).toString ());
172+ ui->editRemoteCloneDirectory ->setText (QDir::toNativeSeparators ( Settings::getValue (" remote" , " clonedirectory" ).toString () ));
173173
174174 // Gracefully handle the preferred Editor font not being available
175175 matchingFont = ui->comboEditorFont ->findText (Settings::getValue (" editor" , " font" ).toString (), Qt::MatchExactly);
You can’t perform that action at this time.
0 commit comments