mirror of
https://github.com/logos-co/logos-cpp-sdk.git
synced 2026-08-31 09:41:06 +00:00
Add QUrl argument
This commit is contained in:
@@ -93,6 +93,16 @@ namespace {
|
||||
}
|
||||
);
|
||||
break;
|
||||
}
|
||||
case QMetaType::QUrl: {
|
||||
auto value = new QUrl{arg.toUrl()};
|
||||
scopedArgs.emplace_back(
|
||||
Q_ARG(QUrl, *value),
|
||||
[](const void* data) {
|
||||
delete static_cast<const QUrl*>(data);
|
||||
}
|
||||
);
|
||||
break;
|
||||
}
|
||||
case QMetaType::QString:
|
||||
default: {
|
||||
|
||||
Reference in New Issue
Block a user