From: Norbert Moutarde Date: Sun, 16 Mar 2014 14:19:32 +0000 (+0100) Subject: added entry in firstrun() to send database X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=0e33c022ae39d1b606ed72dc57e6d85c014e201f;p=diary-mobile.git added entry in firstrun() to send database --- diff --git a/README.md b/README.md index adc30bd..269befd 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ diary-mobile-android ==================== a GUI to use diary-shell on android (or computer, or IOS, or symbian, -or whatever Qt works on if you want, it's Qt !) +or whatever Qt works on if you want, it's so Qt !) the first time you run this, you've only one buttons ("config"), so click on and on the new page, choose "download". Now you've to write diff --git a/mainwindow.cpp b/mainwindow.cpp index 69d9eed..18ad436 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -241,6 +241,7 @@ void MainWindow::firstrun(){ conf->setValue(QString("download"), QVariant("https://raw.github.com/Nothing2Do/diary-mobile-android/master/ui.sql")); conf->setValue(QString("upload"), QVariant("ftp://:@/")); conf->setValue(QString("start"), QVariant("begin")); + conf->setValue(QString("db"), QVariant("/data/data/eu.nothing2do.diarymobile/db")); } QString &MainWindow::get(int row, int column){ q->seek(row);