<table><tr><td style="">elvisangelaccio created this revision.<br />elvisangelaccio added a reviewer: hpereiradacosta.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8759" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Qt 5.10 deprecates the SH_Widget_Animate style hint in favor of a new<br />
SH_Widget_Animation_Duration hint (see [1]).</p>

<p>If we are building against Qt 5.10 or newer, implement the new hint.</p>

<p>[1]: <a href="http://code.qt.io/cgit/qt/qtbase.git/commit/?id=04eba7b538072e2811f074bf66fd41f27c90b35c" class="remarkup-link" target="_blank" rel="noreferrer">http://code.qt.io/cgit/qt/qtbase.git/commit/?id=04eba7b538072e2811f074bf66fd41f27c90b35c</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p><tt style="background: #ebebeb; font-size: 13px;">qDebug() << style()->styleHint(QStyle::SH_Widget_Animation_Duration)</tt> from some QWidget app.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R31 Breeze</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8759" rel="noreferrer">https://phabricator.kde.org/D8759</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstyle/breezestyle.cpp</div></div></div><br /><div><strong>To: </strong>elvisangelaccio, hpereiradacosta<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>