Cppcheck.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-11-14 15:05:05 +02:00
parent 39b3096922
commit ae52f58f6f
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ private:
class VHighlighter : public QSyntaxHighlighter class VHighlighter : public QSyntaxHighlighter
{ {
public: public:
VHighlighter(QTextDocument *document); explicit VHighlighter(QTextDocument *document);
protected: protected:
virtual void highlightBlock(const QString &text); virtual void highlightBlock(const QString &text);

View File

@ -35,7 +35,7 @@ class VPlainTextEdit : public QPlainTextEdit
{ {
Q_OBJECT Q_OBJECT
public: public:
VPlainTextEdit(QWidget * parent = nullptr); explicit VPlainTextEdit(QWidget * parent = nullptr);
VPlainTextEdit(const QString & text, QWidget * parent = nullptr); VPlainTextEdit(const QString & text, QWidget * parent = nullptr);
virtual ~VPlainTextEdit(); virtual ~VPlainTextEdit();