Let Qt handle toolbar sizes so we don't get tiny buttons on high DPI screens

parent da7fa85f
......@@ -120,7 +120,7 @@ Monitor::Monitor(Kdenlive::MonitorId id, MonitorManager *manager, QWidget *paren
// Tool bar buttons
m_toolbar = new QToolBar(this);
m_toolbar->setIconSize(QSize(s, s));
//m_toolbar->setIconSize(QSize(s, s));
QWidget *sp1 = new QWidget(this);
sp1->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
m_toolbar->addWidget(sp1);
......
......@@ -44,7 +44,7 @@ RecManager::RecManager(int iconSize, Monitor *parent) :
, m_recToolbar(new QToolBar(parent))
, m_screenCombo(NULL)
{
m_recToolbar->setIconSize(QSize(iconSize, iconSize));
//m_recToolbar->setIconSize(QSize(iconSize, iconSize));
m_playAction = m_recToolbar->addAction(QIcon::fromTheme("media-playback-start"), i18n("Preview"));
m_playAction->setCheckable(true);
connect(m_playAction, &QAction::toggled, this, &RecManager::slotPreview);
......
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