From d2270f5413e28f7fdf92695be529bb7bc7b98cd8 Mon Sep 17 00:00:00 2001 From: Norbert Moutarde Date: Mon, 13 Jan 2014 19:34:55 +0100 Subject: [PATCH] I've added a call to start (useless when there are upgrade but usefull when there aren't one) --- mainwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;"})); -- 2.45.1