From 0e33c022ae39d1b606ed72dc57e6d85c014e201f Mon Sep 17 00:00:00 2001 From: Norbert Moutarde Date: Sun, 16 Mar 2014 15:19:32 +0100 Subject: [PATCH] added entry in firstrun() to send database --- README.md | 2 +- mainwindow.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); -- 2.45.1