mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 12:03:55 -07:00
Chat mention fixes
+ fixed some issues with highlighting entire line + added case insensative mentions
This commit is contained in:
parent
f51e558e57
commit
639cbefee0
2 changed files with 19 additions and 5 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <QTextFragment>
|
||||
#include <QTextCursor>
|
||||
#include <QColor>
|
||||
#include "userlist.h"
|
||||
#include "user_level.h"
|
||||
#include "tab_supervisor.h"
|
||||
|
||||
|
|
@ -35,6 +36,7 @@ private:
|
|||
QTextCursor prepareBlock(bool same = false);
|
||||
void appendCardTag(QTextCursor &cursor, const QString &cardName);
|
||||
void appendUrlTag(QTextCursor &cursor, QString url);
|
||||
QString getCorrectUserName(QMap<QString, UserListTWI *> &userList, QString &userName);
|
||||
private slots:
|
||||
void openLink(const QUrl &link);
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue