mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Workout Editor QT4 doesn't like Q_DECL_OVERRIDE
.. so removed from codeeditor.h *sigh*
This commit is contained in:
@@ -65,7 +65,7 @@ public:
|
||||
void setColors(QColor bg, QColor fg) { lineAreaColor = bg; lineAreaText = fg; }
|
||||
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE;
|
||||
void resizeEvent(QResizeEvent *event);
|
||||
|
||||
private slots:
|
||||
void updateLineNumberAreaWidth(int newBlockCount);
|
||||
@@ -85,12 +85,12 @@ public:
|
||||
codeEditor = editor;
|
||||
}
|
||||
|
||||
QSize sizeHint() const Q_DECL_OVERRIDE {
|
||||
QSize sizeHint() const {
|
||||
return QSize(codeEditor->lineNumberAreaWidth(), 0);
|
||||
}
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE {
|
||||
void paintEvent(QPaintEvent *event) {
|
||||
codeEditor->lineNumberAreaPaintEvent(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user