From b76b772b53e777e3a601fa2f8b5a280350b8fb30 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 21 May 2012 13:40:49 +1000 Subject: [PATCH] Path seperator fix in newprofile.cpp --- newprofile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newprofile.cpp b/newprofile.cpp index a9c84c0d..d1a77872 100644 --- a/newprofile.cpp +++ b/newprofile.cpp @@ -99,9 +99,9 @@ void NewProfile::on_nextButton_clicked() switch(index) { case 0: settings.setValue("Settings/AppRoot", ui->dataFolderPath->text()); - p_pref->setFilename(ui->dataFolderPath->text()+"/"+p_pref->name()+xmlext); + p_pref->setFilename(ui->dataFolderPath->text()+QDir::separator()+p_pref->name()+xmlext); p_pref->setPath(ui->dataFolderPath->text()); - p_layout->setFilename(ui->dataFolderPath->text()+"/"+p_layout->name()+xmlext); + p_layout->setFilename(ui->dataFolderPath->text()+QDir::separator()+p_layout->name()+xmlext); p_layout->setPath(ui->dataFolderPath->text()); // Reload Preferences object break;