Hack in array support
This commit is contained in:
parent
f509d44cca
commit
f0dfe3d391
@ -208,7 +208,6 @@ QString parsePathspec(QJsonDocument &response, QString &pathspec) {
|
|||||||
|
|
||||||
void parseResult(QJsonDocument result, QByteArray data, QString returnPathspec, QString name) {
|
void parseResult(QJsonDocument result, QByteArray data, QString returnPathspec, QString name) {
|
||||||
if (result.isObject()) {
|
if (result.isObject()) {
|
||||||
qDebug() << result.object()[".url"];
|
|
||||||
QString url = parsePathspec(result, returnPathspec);
|
QString url = parsePathspec(result, returnPathspec);
|
||||||
if (!url.isEmpty()) {
|
if (!url.isEmpty()) {
|
||||||
QApplication::clipboard()->setText(url);
|
QApplication::clipboard()->setText(url);
|
||||||
|
Loading…
Reference in New Issue
Block a user