Make oultliner icons same size as the toolbar icons

Part of bug #10125

(cherry picked from commit f56ee1875c)
This commit is contained in:
Enrico Forestieri 2016-06-26 16:53:00 +02:00 committed by Richard Heck
parent 46133b26be
commit 7d759dccbb

View File

@ -55,6 +55,13 @@ TocWidget::TocWidget(GuiView & gui_view, QWidget * parent)
moveDownTB->setIcon(QIcon(getPixmap("images/", "outline-down", "svgz,png")));
updateTB->setIcon(QIcon(getPixmap("images/", "reload", "svgz,png")));
QSize icon_size = gui_view.iconSize();
moveOutTB->setIconSize(icon_size);
moveInTB->setIconSize(icon_size);
moveUpTB->setIconSize(icon_size);
moveDownTB->setIconSize(icon_size);
updateTB->setIconSize(icon_size);
// avoid flickering
tocTV->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);