mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Fix method overriding
This commit is contained in:
parent
868c6aa269
commit
62464a450c
@ -69,7 +69,7 @@ PropertiesDialog::PropertiesDialog(QWidget *parent)
|
||||
mainWidget->move(280, 0);
|
||||
}
|
||||
|
||||
QSize PropertiesDialog::sizeHint()
|
||||
QSize PropertiesDialog::sizeHint() const
|
||||
{
|
||||
return QSize(750, 444);
|
||||
}
|
||||
|
@ -125,7 +125,7 @@ public:
|
||||
// TODO: this non-const member function hides rather than overrides
|
||||
// QWidget::sizeHint(). But the function cannot be simply removed as it is used
|
||||
// in our constructor. Will have to investigate and decide how to fix this.
|
||||
QSize sizeHint();
|
||||
QSize sizeHint() const override;
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
|
||||
public slots:
|
||||
|
Loading…
Reference in New Issue
Block a user