From: Norbert Moutarde Date: Fri, 24 Oct 2014 16:32:15 +0000 (+0200) Subject: added "cal" action to call a number X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=b0ba3680aed3493905bbe62a6bd800bc711fce30;p=diary-mobile.git added "cal" action to call a number --- diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 1cec6ce..5cf9c9d 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -46,4 +46,6 @@ + + diff --git a/mainwindow.cpp b/mainwindow.cpp index 3b13e1f..9e7fb11 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -369,7 +369,7 @@ void MainWindow::action(const QString &a){ } else if(b[0]==QString("wri")){ QFile tmp(conf->value(QString("file")).toString()); - tmp.open(QIODevice::WriteOnly/*|QIODevice::Text*/); + tmp.open(QIODevice::WriteOnly); QTextStream stream(&tmp); stream<value(QString("currenttype")).toString(),a);