File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,8 @@ void CElidingLabel::resizeEvent(QResizeEvent *event)
163163// ============================================================================
164164QSize CElidingLabel::minimumSizeHint () const
165165{
166- #if (QT_VERSION >= QT_VERSION_CHECK(6, 0 , 0))
167- bool HasPixmap = !pixmap ().isNull ();
166+ #if (QT_VERSION >= QT_VERSION_CHECK(5, 15 , 0))
167+ bool HasPixmap = !pixmap (Qt::ReturnByValue ).isNull ();
168168#else
169169 bool HasPixmap = (pixmap () != nullptr );
170170#endif
@@ -185,8 +185,8 @@ QSize CElidingLabel::minimumSizeHint() const
185185// ============================================================================
186186QSize CElidingLabel::sizeHint () const
187187{
188- #if (QT_VERSION >= QT_VERSION_CHECK(6, 0 , 0))
189- bool HasPixmap = !pixmap ().isNull ();
188+ #if (QT_VERSION >= QT_VERSION_CHECK(5, 15 , 0))
189+ bool HasPixmap = !pixmap (Qt::ReturnByValue ).isNull ();
190190#else
191191 bool HasPixmap = (pixmap () != nullptr );
192192#endif
You can’t perform that action at this time.
0 commit comments