Added default parameter to split()

This commit is contained in:
Gerhard Hoffmann 2023-05-30 16:44:55 +02:00
parent 85bec3364f
commit f016e9777e

View File

@ -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: