Fix some warnings

parent f6d6a03f
......@@ -76,7 +76,7 @@ const QString FilterClipJob::getDescription() const
void FilterClipJob::configureConsumer()
{
m_consumer = std::make_unique<Mlt::Consumer>(*m_profile.get(), "null");
for (const QString param : m_consumerArgs) {
for (const QString &param : m_consumerArgs) {
if (param.contains(QLatin1Char('='))) {
m_consumer->set(param.section(QLatin1Char('='), 0, 0).toUtf8().constData(), param.section(QLatin1Char('='), 1).toInt());
}
......
......@@ -578,7 +578,7 @@ void LoadJob::processMultiStream()
mainLayout->addWidget(mainWidget);
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
okButton->setDefault(true);
okButton->setShortcut(Qt::CTRL | Qt::Key_Return);
okButton->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Return));
dialog->connect(buttonBox, &QDialogButtonBox::accepted, dialog.data(), &QDialog::accept);
dialog->connect(buttonBox, &QDialogButtonBox::rejected, dialog.data(), &QDialog::reject);
okButton->setText(i18n("Import selected clips"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment