diff options
| author | Laurent Montel <[email protected]> | 2022-06-02 07:55:08 +0200 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2022-06-02 07:55:08 +0200 |
| commit | 8df1ea33276f1d6107d6c1b187cd0fdc52bfe31b (patch) | |
| tree | 9bc40f01ec0b626cb6d8e5eb38ab30bb702d8810 | |
| parent | 165448bc7f5dc943c259b37d9e3438335ca0251e (diff) | |
We depend against qt5.15
| -rw-r--r-- | src/views/tooltips/dolphinfilemetadatawidget.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/views/tooltips/dolphinfilemetadatawidget.cpp b/src/views/tooltips/dolphinfilemetadatawidget.cpp index 01877e4ee..80d22d837 100644 --- a/src/views/tooltips/dolphinfilemetadatawidget.cpp +++ b/src/views/tooltips/dolphinfilemetadatawidget.cpp @@ -81,15 +81,9 @@ void DolphinFileMetaDataWidget::setPreview(const QPixmap& pixmap) QPixmap DolphinFileMetaDataWidget::preview() const { -#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) - if (m_preview->pixmap()) { - return *m_preview->pixmap(); - } -#else if (!m_preview->pixmap(Qt::ReturnByValue).isNull()) { return m_preview->pixmap(Qt::ReturnByValue); } -#endif return QPixmap(); } |
