Skip to content
Snippets Groups Projects
Commit d8ebc0b3 authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Fix warning about non-NOTIFYable property

parent cd998d1c
No related branches found
No related tags found
No related merge requests found
Pipeline #543 failed
......@@ -61,10 +61,10 @@ class MainWindow : public QMainWindow
{
Q_OBJECT
Q_PROPERTY(int x READ x)
Q_PROPERTY(int y READ y)
Q_PROPERTY(int width READ width)
Q_PROPERTY(int height READ height)
Q_PROPERTY(int x READ x CONSTANT)
Q_PROPERTY(int y READ y CONSTANT)
Q_PROPERTY(int width READ width CONSTANT)
Q_PROPERTY(int height READ height CONSTANT)
public:
explicit MainWindow(QWidget *parent = nullptr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment