download: replace progress_bar_text by std::string

No fixed buffers. Sadly, the thing is still a global variable.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-06-08 22:43:04 +02:00 committed by bstoeger
parent 91968ac579
commit 7452aa22c2
8 changed files with 87 additions and 84 deletions

View file

@ -8,6 +8,7 @@
#include <QMap>
#include <QAbstractTableModel>
#include <memory>
#include <string>
#include "core/libdivecomputer.h"
#include "desktop-widgets/configuredivecomputerdialog.h"
@ -77,6 +78,7 @@ private:
QStringListModel productModel;
Ui::DownloadFromDiveComputer ui;
QString filename;
std::string last_text;
bool downloading;
int previousLast;