Commit 3d1beab7 authored by Laurent Montel's avatar Laurent Montel 😁

Use QString directly

parent 4ca32b4d
......@@ -1731,8 +1731,8 @@ void KdenliveDoc::selectPreviewProfile()
setDocumentProperty(QStringLiteral("previewparameters"), bestMatch.section(QLatin1Char(';'), 0, 0));
setDocumentProperty(QStringLiteral("previewextension"), bestMatch.section(QLatin1Char(';'), 1, 1));
} else {
setDocumentProperty(QStringLiteral("previewparameters"), QStringLiteral());
setDocumentProperty(QStringLiteral("previewextension"), QStringLiteral());
setDocumentProperty(QStringLiteral("previewparameters"), QString());
setDocumentProperty(QStringLiteral("previewextension"), QString());
}
}
......
......@@ -2045,7 +2045,7 @@ void MainWindow::connectDocument()
slotGuidesUpdated();
// set tool to select tool
setTrimMode(QStringLiteral());
setTrimMode(QString());
m_buttonSelectTool->setChecked(true);
connect(m_projectMonitorDock, &QDockWidget::visibilityChanged, m_projectMonitor, &Monitor::slotRefreshMonitor, Qt::UniqueConnection);
connect(m_clipMonitorDock, &QDockWidget::visibilityChanged, m_clipMonitor, &Monitor::slotRefreshMonitor, Qt::UniqueConnection);
......
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