Make Nheko compile on Qt6
This commit is contained in:
parent
0ac46ea209
commit
b518f6902e
39 changed files with 108 additions and 361 deletions
|
|
@ -24,12 +24,8 @@
|
|||
|
||||
QHash<QString, mtx::crypto::EncryptedFile> infos;
|
||||
|
||||
MxcImageProvider::MxcImageProvider(QObject *parent)
|
||||
#if QT_VERSION < 0x60000
|
||||
: QObject(parent)
|
||||
#else
|
||||
: QQuickAsyncImageProvider(parent)
|
||||
#endif
|
||||
MxcImageProvider::MxcImageProvider()
|
||||
: QQuickAsyncImageProvider()
|
||||
{
|
||||
auto timer = new QTimer(this);
|
||||
timer->setInterval(std::chrono::hours(1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue