From: Norbert Moutarde Date: Mon, 13 Jan 2014 18:34:55 +0000 (+0100) Subject: I've added a call to start (useless when there are upgrade but usefull X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=d2270f5413e28f7fdf92695be529bb7bc7b98cd8;p=diary-mobile.git I've added a call to start (useless when there are upgrade but usefull when there aren't one) --- diff --git a/mainwindow.cpp b/mainwindow.cpp index 8eecb78..8d024a5 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -45,6 +45,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) } statusBar()->addPermanentWidget(label); menuBar()->setVisible(conf->value(QString("menu")).toBool()); + start(); } void MainWindow::start(){ way.clear(); @@ -482,8 +483,8 @@ void MainWindow::readButtons(const QByteArray &in){ emit datafilled(); } void MainWindow::datasend(QNetworkReply *a){ - a->open(QIODevice::ReadOnly); - qDebug()<<"data send :"<readAll(); + + qDebug()<<"data send :"<downloadedData().size()<<" byte."; } void MainWindow::resetDB(){ exec(QList({"delete from ui;"}));