1 /* SPDX-License-Identifier: GPL-2.0-only */
10 inline QMap
<QString
,QString
> parseParameters(QIODevice
& dev
){
12 QMap
<QString
, QString
> result
;
14 while (!dev
.atEnd()) {
15 curr_line
= dev
.readLine().trimmed();
17 auto split
= curr_line
.split('=');
22 result
.insert(split
[0].trimmed(), split
[1].trimmed());