From 32377dc02732ee6fa354c90f3926b3278e645b98 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Thu, 21 Dec 2017 16:02:54 +0200 Subject: [PATCH] Remove the 'Video' prefix from video links --- src/timeline/widgets/VideoItem.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/timeline/widgets/VideoItem.cc b/src/timeline/widgets/VideoItem.cc index 1d67118a..b3987b83 100644 --- a/src/timeline/widgets/VideoItem.cc +++ b/src/timeline/widgets/VideoItem.cc @@ -19,6 +19,7 @@ #include #include +#include "Config.h" #include "timeline/widgets/VideoItem.h" void @@ -52,12 +53,13 @@ VideoItem::VideoItem(QSharedPointer client, layout->setMargin(0); layout->setSpacing(0); - QString link = QString("Video - %2").arg(url_.toString()).arg(text_); + QString link = QString("%2").arg(url_.toString()).arg(text_); label_ = new QLabel(link, this); label_->setMargin(0); label_->setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextBrowserInteraction); label_->setOpenExternalLinks(true); + label_->setStyleSheet(QString("font-size: %1px;").arg(conf::fontSize)); layout->addWidget(label_); }