From: Norbert Moutarde Date: Tue, 21 Feb 2017 10:59:22 +0000 (+0100) Subject: mistake (. replaced with ::) X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=77f9e82a67f59bba5163db051b15ae8770827956;p=diary-mobile.git mistake (. replaced with ::) --- diff --git a/mainwindow.cpp b/mainwindow.cpp index d05c4b6..6b0f5e3 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -641,14 +641,14 @@ void MainWindow::firstrun(){ conf->setValue(QString("buttonsbefore"), QVariant("background-color: red;")); conf->setValue(QString("buttonsafter"), QVariant("background-color: blue;")); conf->setValue(QString("menu"), QVariant(1)); - conf->setValue(QString("download"), QVariant("http:////"+conf->value(QString("filebuttons")).toString())); - conf->setValue(QString("downloaduser"), QVariant("")); + conf->setValue(QString("download"), QVariant("http:////"+conf->value(QString("filebuttons")).toString())); + conf->setValue(QString("downloaduser"), QVariant("")); conf->setValue(QString("downloadpass"), QVariant("")); - conf->setValue(QString("init"), QVariant("http://www.nothing2do.eu/init")); - conf->setValue(QString("userftp"), QVariant("")); - conf->setValue(QString("hostftp"), QVariant("")); - conf->setValue(QString("passftp"), QVariant("")); + conf->setValue(QString("init"), QVariant("http:///init")); + conf->setValue(QString("userftp"), QVariant("")); + conf->setValue(QString("hostftp"), QVariant("")); + conf->setValue(QString("passftp"), QVariant("")); conf->setValue(QString("start"), QVariant("begin")); conf->setValue(QString("restore"), QVariant("http://www.abc.de/db")); conf->setValue(QString("db"), QVariant("/data/data/eu.nothing2do.diarymobile/files/db")); @@ -762,7 +762,7 @@ void MainWindow::addDB(const QString & tmp, const QString & cur){ if ((a=="")||(ok==0))return; QString tmpfile; if(a.contains(QString("!file!"))){ - tmpfile=QFileDialog.getOpenFileName(); + tmpfile=QFileDialog::getOpenFileName(); a.replace(QString("!file!"),tmpfile); }; @@ -841,7 +841,7 @@ void MainWindow::editDB(const QString & a, const QString & b){ if(!ok)return; QString tmpfile; if(tmpaction.contains(QString("!file!"))){ - tmpfile=QFileDialog.getOpenFileName(); + tmpfile=QFileDialog::getOpenFileName(); tmpaction.replace(QString("!file!"),tmpfile); };