Fix empty widgets still being shown

gst-experiments
Nicolas Werner 2 years ago
parent 57f505c486
commit 130e1b43fb
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      src/timeline/TimelineModel.cpp

@ -2795,6 +2795,10 @@ TimelineModel::widgetLinks() const
list.reserve(evs.size());
for (const auto &p : evs) {
auto url = QString::fromStdString(p.content.url);
if (url.isEmpty())
continue;
for (const auto &[k, v] : p.content.data)
url.replace("$" + QString::fromStdString(k),
QUrl::toPercentEncoding(QString::fromStdString(v)));

Loading…
Cancel
Save