Commit 8fb6a122 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Cleanup font setting for qml timeline

parent 918e84eb
......@@ -180,10 +180,7 @@ void TimelineWidget::setModel(const std::shared_ptr<TimelineItemModel> &model, M
rootContext()->setContextProperty("audiorec", pCore->getAudioDevice());
rootContext()->setContextProperty("guidesModel", pCore->currentDoc()->getGuideModel().get());
rootContext()->setContextProperty("clipboard", new ClipboardProxy(this));
QFont ft = QFontDatabase::systemFont(QFontDatabase::GeneralFont);
ft.setPointSize(QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont).pointSize());
setFont(ft);
rootContext()->setContextProperty("miniFont", font());
rootContext()->setContextProperty("miniFont", QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont));
rootContext()->setContextProperty("subtitleModel", pCore->getSubtitleModel().get());
const QStringList effs = sortedItems(KdenliveSettings::favorite_effects(), false).values();
const QStringList trans = sortedItems(KdenliveSettings::favorite_transitions(), true).values();
......
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