|
|
@ -129,7 +129,8 @@ TimelineViewManager::userStatus(QString id) const |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
TimelineViewManager::TimelineViewManager(CallManager *callManager, ChatPage *parent) |
|
|
|
TimelineViewManager::TimelineViewManager(CallManager *callManager, ChatPage *parent) |
|
|
|
: imgProvider(new MxcImageProvider()) |
|
|
|
: QObject(parent) |
|
|
|
|
|
|
|
, imgProvider(new MxcImageProvider()) |
|
|
|
, colorImgProvider(new ColorImageProvider()) |
|
|
|
, colorImgProvider(new ColorImageProvider()) |
|
|
|
, blurhashProvider(new BlurhashProvider()) |
|
|
|
, blurhashProvider(new BlurhashProvider()) |
|
|
|
, callManager_(callManager) |
|
|
|
, callManager_(callManager) |
|
|
@ -230,7 +231,7 @@ TimelineViewManager::TimelineViewManager(CallManager *callManager, ChatPage *par |
|
|
|
"Error: Only enums"); |
|
|
|
"Error: Only enums"); |
|
|
|
|
|
|
|
|
|
|
|
#ifdef USE_QUICK_VIEW |
|
|
|
#ifdef USE_QUICK_VIEW |
|
|
|
view = new QQuickView(); |
|
|
|
view = new QQuickView(parent); |
|
|
|
container = QWidget::createWindowContainer(view, parent); |
|
|
|
container = QWidget::createWindowContainer(view, parent); |
|
|
|
#else |
|
|
|
#else |
|
|
|
view = new QQuickWidget(parent); |
|
|
|
view = new QQuickWidget(parent); |
|
|
|