Merge pull request #5894 from lioncash/dqt-elided
ElidedButton: Add missing override specifier to paintEvent()
This commit is contained in:
commit
bc11fad6eb
|
@ -9,12 +9,12 @@
|
|||
class ElidedButton : public QPushButton
|
||||
{
|
||||
public:
|
||||
ElidedButton(const QString& text = QStringLiteral(""),
|
||||
explicit ElidedButton(const QString& text = QStringLiteral(""),
|
||||
Qt::TextElideMode elide_mode = Qt::ElideRight);
|
||||
Qt::TextElideMode elideMode() const;
|
||||
void setElideMode(Qt::TextElideMode elide_mode);
|
||||
|
||||
private:
|
||||
void paintEvent(QPaintEvent* event);
|
||||
void paintEvent(QPaintEvent* event) override;
|
||||
Qt::TextElideMode m_elide_mode;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue