mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -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);
|
mainWidget->move(280, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
QSize PropertiesDialog::sizeHint()
|
QSize PropertiesDialog::sizeHint() const
|
||||||
{
|
{
|
||||||
return QSize(750, 444);
|
return QSize(750, 444);
|
||||||
}
|
}
|
||||||
|
@ -125,7 +125,7 @@ public:
|
|||||||
// TODO: this non-const member function hides rather than overrides
|
// TODO: this non-const member function hides rather than overrides
|
||||||
// QWidget::sizeHint(). But the function cannot be simply removed as it is used
|
// 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.
|
// in our constructor. Will have to investigate and decide how to fix this.
|
||||||
QSize sizeHint();
|
QSize sizeHint() const override;
|
||||||
void paintEvent(QPaintEvent *event) override;
|
void paintEvent(QPaintEvent *event) override;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user