]> Some of my projects - localmylist.git/commitdiff
Use single quotes for values in theInput field.
authorAPTX <marek321@gmail.com>
Fri, 26 Apr 2013 16:03:17 +0000 (18:03 +0200)
committerAPTX <marek321@gmail.com>
Fri, 26 Apr 2013 16:03:17 +0000 (18:03 +0200)
Some titles contain double quotes while single quotes are already replaced by `.
The output field does not really need this change as it is not parsed.

localmylist-management/renamesettingsdialog.cpp

index 7723bb24a95724834395805d124b2cf0dc93f740..498ccd6c31c6e96adc6a3884779012ee37be66cc 100644 (file)
@@ -181,7 +181,7 @@ void RenameSettingsDialog::setupEnvForFile(int fid)
        QString s;
        for (RenameParser::Environment::const_iterator i = env.constBegin(); i != env.constEnd(); ++i)
        {
-               s += i.key() + " := \"" + i.value() + "\"\n";
+               s += i.key() + " := '" + i.value() + "'\n";
        }
        ui->input->setText(s);
 }