diff --git a/src/mkvtoolnix-gui/util/elide_label.cpp b/src/mkvtoolnix-gui/util/elide_label.cpp index 67e7e1835..d42d5e0b4 100644 --- a/src/mkvtoolnix-gui/util/elide_label.cpp +++ b/src/mkvtoolnix-gui/util/elide_label.cpp @@ -93,11 +93,7 @@ ElideLabel::sizeHint() QSize ElideLabel::minimumSizeHint() const { - if (Qt::ElideNone == p_func()->m_elideMode) - return sizeHint(); - - auto metrics = fontMetrics(); - return QSize{ Util::horizontalAdvance(metrics, Q("…")), metrics.height() }; + return sizeHint(); } void