Comment updates

This commit is contained in:
James Graham
2026-02-03 18:52:23 +00:00
parent 80047acf87
commit dff6ab66f1
15 changed files with 28 additions and 87 deletions

View File

@@ -6,7 +6,6 @@
#include "chattextitemhelper.h"
#include "clipboard.h"
#include "neochatroom.h"
#include <qnamespace.h>
ChatKeyHelper::ChatKeyHelper(QObject *parent)
: QObject(parent)

View File

@@ -156,7 +156,7 @@ void ChatTextItemHelper::initializeChars()
return;
}
QTextCursor cursor = QTextCursor(doc);
QTextCursor cursor(doc);
if (cursor.isNull()) {
return;
}

View File

@@ -5,7 +5,6 @@
#include <QObject>
#include <QQuickItem>
#include <qcontainerfwd.h>
#include "enums/chatbartype.h"
#include "enums/richformat.h"

View File

@@ -8,7 +8,7 @@
struct MessageComponent {
MessageComponentType::Type type = MessageComponentType::Other;
QString display;
QVariantMap attributes = {};
QVariantMap attributes;
bool operator==(const MessageComponent &right) const
{

View File

@@ -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)