]> git.nothing2do.fr Git - diary-mobile.git/commitdiff
I've added a call to start (useless when there are upgrade but usefull
authorNorbert Moutarde <norbert.moutarde@nothing2do.eu>
Mon, 13 Jan 2014 18:34:55 +0000 (19:34 +0100)
committerNorbert Moutarde <norbert.moutarde@nothing2do.eu>
Mon, 13 Jan 2014 18:34:55 +0000 (19:34 +0100)
when there aren't one)

mainwindow.cpp

index 8eecb78a304ddec2169aa6680664337399cf4dac..8d024a557a08841ad9fea12e3811ada1c2482b2e 100644 (file)
@@ -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 :"<<a->readAll();
+
+    qDebug()<<"data send :"<<m->downloadedData().size()<<" byte.";
 }
 void MainWindow::resetDB(){
     exec(QList<QString>({"delete from ui;"}));