mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Remove workaround for QTBUG-93281
This is fixed in Qt 6.7.0 and signal `imagesLoaded` was removed. Nheko warns about `No such signal QTextDocument::imagesLoaded()`
This commit is contained in:
parent
2142a8dd9c
commit
2b9e056eaf
1 changed files with 8 additions and 0 deletions
|
@ -620,6 +620,9 @@ TimelineViewManager::forwardMessageToRoom(mtx::events::collections::TimelineEven
|
|||
}
|
||||
|
||||
//! WORKAROUND(Nico): for https://bugreports.qt.io/browse/QTBUG-93281
|
||||
// QTBUG-93281 Fixed in 6.7.0
|
||||
// https://github.com/qt/qtdeclarative/commit/7fb39a7accba014063e32ac41a58b77905bbd95b
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||
void
|
||||
TimelineViewManager::fixImageRendering([[maybe_unused]] QQuickTextDocument *t,
|
||||
[[maybe_unused]] QQuickItem *i)
|
||||
|
@ -630,6 +633,11 @@ TimelineViewManager::fixImageRendering([[maybe_unused]] QQuickTextDocument *t,
|
|||
}
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
void
|
||||
TimelineViewManager::fixImageRendering(QQuickTextDocument *, QQuickItem *)
|
||||
{}
|
||||
#endif
|
||||
|
||||
using IgnoredUsers = mtx::events::EphemeralEvent<mtx::events::account_data::IgnoredUsers>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue