Fix some more Travis warnings

This commit is contained in:
Daniel Marjamäki 2018-05-01 09:43:51 +02:00
parent e5c4e31da6
commit 2470c711e4
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ class CodeEditor : public QPlainTextEdit {
public: public:
explicit CodeEditor(QWidget *parent); explicit CodeEditor(QWidget *parent);
CodeEditor(const CodeEditor &) = delete;
~CodeEditor() {}
CodeEditor &operator=(const CodeEditor &) = delete;
void lineNumberAreaPaintEvent(QPaintEvent *event); void lineNumberAreaPaintEvent(QPaintEvent *event);
int lineNumberAreaWidth(); int lineNumberAreaWidth();