Comment updates
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "chattextitemhelper.h"
|
||||
#include "clipboard.h"
|
||||
#include "neochatroom.h"
|
||||
#include <qnamespace.h>
|
||||
|
||||
ChatKeyHelper::ChatKeyHelper(QObject *parent)
|
||||
: QObject(parent)
|
||||
|
||||
@@ -156,7 +156,7 @@ void ChatTextItemHelper::initializeChars()
|
||||
return;
|
||||
}
|
||||
|
||||
QTextCursor cursor = QTextCursor(doc);
|
||||
QTextCursor cursor(doc);
|
||||
if (cursor.isNull()) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
#include <QObject>
|
||||
#include <QQuickItem>
|
||||
#include <qcontainerfwd.h>
|
||||
|
||||
#include "enums/chatbartype.h"
|
||||
#include "enums/richformat.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
struct MessageComponent {
|
||||
MessageComponentType::Type type = MessageComponentType::Other;
|
||||
QString display;
|
||||
QVariantMap attributes = {};
|
||||
QVariantMap attributes;
|
||||
|
||||
bool operator==(const MessageComponent &right) const
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ class CompletionModel : public QAbstractListModel
|
||||
Q_PROPERTY(NeoChatRoom *room READ room WRITE setRoom NOTIFY roomChanged)
|
||||
|
||||
/**
|
||||
* @brief The QQuickTextDocument that is being handled.
|
||||
* @brief The ChatBarType::Type of the chat bar.
|
||||
*/
|
||||
Q_PROPERTY(ChatBarType::Type type READ type WRITE setType NOTIFY typeChanged)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user