diff --git a/update.h b/update.h index 83ee577..fb3864d 100644 --- a/update.h +++ b/update.h @@ -38,8 +38,7 @@ class Update : public QObject { bool updatePrinterConf(int nrOfTemplate, char const *fileToSendToDC); bool finishUpdate(bool finish); QStringList getOpenLines(); - QStringList split(QString line); - static constexpr QChar SEPARATOR = QChar(','); + QStringList split(QString line, QChar sep = ','); bool execUpdateScript(); public: