diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2018-04-10 15:28:02 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2018-04-11 07:38:32 +0000 |
commit | 52990db1f07bdf8f236dcb9b2ac06480c39437f7 (patch) | |
tree | fc4f3946b4d39d4e7f828cdf76f1b7de04bb5ef0 /src/quicktemplates2/qquickmenubar_p.h | |
parent | cea175fca9e07d4b8bbb47508c49a8dac554797b (diff) |
QQuickMenuBar: refactor content size calculation
Align with the other containers to make it easier to eventually promote
contentWidth and contentHeight to the base class, QQuickContainer.
Change-Id: I45c28d6902ae3cdf36f25dae60272dbc47a04f16
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickmenubar_p.h')
-rw-r--r-- | src/quicktemplates2/qquickmenubar_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/quicktemplates2/qquickmenubar_p.h b/src/quicktemplates2/qquickmenubar_p.h index 9f03076e..da7bb542 100644 --- a/src/quicktemplates2/qquickmenubar_p.h +++ b/src/quicktemplates2/qquickmenubar_p.h @@ -91,9 +91,6 @@ Q_SIGNALS: void menusChanged(); protected: - void updatePolish() override; - void componentComplete() override; - bool eventFilter(QObject *object, QEvent *event) override; void keyPressEvent(QKeyEvent *event) override; void keyReleaseEvent(QKeyEvent *event) override; |