Update the CSV export dialog to use the PreferencesDialog methods

This commit is contained in:
Justin Clift
2016-05-25 17:33:19 +01:00
parent c91390941d
commit 76aeba0765
2 changed files with 27 additions and 12 deletions

View File

@@ -231,6 +231,18 @@ QVariant PreferencesDialog::getSettingsDefaultValue(const QString& group, const
if(group == "db" && name == "defaultsqltext")
return "";
// exportcsv/firstrowheader?
if(group == "exportcsv" && name == "firstrowheader")
return true;
// exportcsv/separator?
if(group == "exportcsv" && name == "separator")
return ',';
// exportcsv/quotecharacter?
if(group == "exportcsv" && name == "quotecharacter")
return '"';
// MainWindow/geometry?
if(group == "MainWindow" && name == "geometry")
return "";