mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Fix completer size
This commit is contained in:
parent
08d5980d40
commit
e0e5912b70
3 changed files with 4 additions and 4 deletions
|
@ -100,7 +100,7 @@ Control {
|
|||
|
||||
// Broken, see https://bugreports.qt.io/browse/QTBUG-102811
|
||||
//reuseItems: true
|
||||
implicitWidth: listView.contentItem.childrenRect.width
|
||||
implicitWidth: Math.max(listView.contentItem.childrenRect.width, 20)
|
||||
model: completer
|
||||
pixelAligned: true
|
||||
spacing: rowSpacing
|
||||
|
|
|
@ -436,7 +436,7 @@ TimelineViewManager::focusMessageInput()
|
|||
emit focusInput();
|
||||
}
|
||||
|
||||
QObject *
|
||||
QAbstractItemModel *
|
||||
TimelineViewManager::completerFor(const QString &completerName, const QString &roomId)
|
||||
{
|
||||
if (completerName == QLatin1String("user")) {
|
||||
|
|
|
@ -134,7 +134,7 @@ public slots:
|
|||
|
||||
void setVideoCallItem();
|
||||
|
||||
QObject *completerFor(const QString &completerName,
|
||||
QAbstractItemModel *completerFor(const QString &completerName,
|
||||
const QString &roomId = QLatin1String(QLatin1String("")));
|
||||
void forwardMessageToRoom(mtx::events::collections::TimelineEvents const *e, QString roomId);
|
||||
|
||||
|
|
Loading…
Reference in a new issue