mirror of
https://invent.kde.org/multimedia/kdenlive
synced 2025-12-06 08:20:01 +01:00
Compare commits
1 Commits
work/embed
...
work/alex/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78e0edfb7e |
@@ -45,7 +45,7 @@ UrlListParamWidget::UrlListParamWidget(std::shared_ptr<AssetParameterModel> mode
|
||||
});
|
||||
#else
|
||||
m_knsbutton = new QToolButton(this);
|
||||
m_knsbutton->setIcon(QIcon::fromTheme(QStringLiteral("edit-download"));
|
||||
m_knsbutton->setIcon(QIcon::fromTheme(QStringLiteral("edit-download")));
|
||||
connect(m_knsbutton, &QToolButton::clicked, this, &UrlListParamWidget::downloadNewItems);
|
||||
#endif
|
||||
m_value_box->layout()->addWidget(m_knsbutton);
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
#include <knewstuff_version.h>
|
||||
#if KNEWSTUFF_VERSION >= QT_VERSION_CHECK(5, 91, 0)
|
||||
#include <KNSWidgets/Button>
|
||||
#else
|
||||
#include <QToolButton>
|
||||
#endif
|
||||
|
||||
class AssetParameterModel;
|
||||
|
||||
@@ -185,9 +185,9 @@ RenderWidget::RenderWidget(bool enableProxy, QWidget *parent)
|
||||
});
|
||||
#else
|
||||
m_knsbutton = new QToolButton(this);
|
||||
m_knsbutton->setIcon(QIcon::fromTheme(QStringLiteral("edit-download"));
|
||||
m_knsbutton->setIcon(QIcon::fromTheme(QStringLiteral("edit-download")));
|
||||
m_knsbutton->setAutoRaise(true);
|
||||
connect(m_view.buttonDownload, &QAbstractButton::clicked, this, [&]() {
|
||||
connect(m_knsbutton, &QAbstractButton::clicked, this, [&]() {
|
||||
if (pCore->getNewStuff(QStringLiteral(":data/kdenlive_renderprofiles.knsrc")) > 0) {
|
||||
parseProfiles();
|
||||
}
|
||||
|
||||
@@ -3412,7 +3412,7 @@ void MainWindow::slotResizeItemEnd()
|
||||
getMainTimeline()->controller()->setOutPoint(m_activeTool == ToolType::RippleTool);
|
||||
}
|
||||
|
||||
#if KXMLGUI_VERSION < QT_VERSION_CHECK(5, 98, 0)
|
||||
#if KNEWSTUFF_VERSION < QT_VERSION_CHECK(5, 98, 0)
|
||||
int MainWindow::getNewStuff(const QString &configFile)
|
||||
{
|
||||
KNS3::QtQuickDialogWrapper dialog(configFile);
|
||||
|
||||
Reference in New Issue
Block a user