Fix copy of RSLink when on Only plain text mode in chat lobby. (sss

find)
This commit is contained in:
Phenom 2017-07-21 10:58:19 +02:00
parent aa471e5b2f
commit 8d82640f41
3 changed files with 10 additions and 1 deletions

View file

@ -48,9 +48,11 @@ public:
void addContextMenuAction(QAction *action);
QColor textColorQuote() const { return highliter->textColorQuote();}
bool onlyPlainText() const {return mOnlyPlainText;}
public slots:
void setTextColorQuote(QColor textColorQuote) { highliter->setTextColorQuote(textColorQuote);}
void setOnlyPlainText(bool bOnlyPlainText) {mOnlyPlainText = bOnlyPlainText;}
signals:
void calculateContextMenuActions();
@ -80,6 +82,7 @@ private:
QString mCompleterStartString;
QList<QAction*> mContextMenuActions;
RsSyntaxHighlighter *highliter;
bool mOnlyPlainText;
};
#endif // MIMETEXTEDIT_H