mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Removed Window.menuHeight
This commit is contained in:
parent
47038e4349
commit
0e3913baff
2 changed files with 0 additions and 6 deletions
|
@ -394,10 +394,6 @@ int WindowScriptingInterface::getInnerHeight() {
|
|||
return qApp->getDeviceSize().y;
|
||||
}
|
||||
|
||||
int WindowScriptingInterface::getMenuHeight() {
|
||||
return qApp->getPrimaryMenu()->geometry().height();
|
||||
}
|
||||
|
||||
glm::vec2 WindowScriptingInterface::getDeviceSize() const {
|
||||
return qApp->getDeviceSize();
|
||||
}
|
||||
|
|
|
@ -39,14 +39,12 @@ class WindowScriptingInterface : public QObject, public Dependency {
|
|||
Q_PROPERTY(int innerHeight READ getInnerHeight)
|
||||
Q_PROPERTY(int x READ getX)
|
||||
Q_PROPERTY(int y READ getY)
|
||||
Q_PROPERTY(int menuHeight READ getMenuHeight)
|
||||
|
||||
public:
|
||||
WindowScriptingInterface();
|
||||
~WindowScriptingInterface();
|
||||
int getInnerWidth();
|
||||
int getInnerHeight();
|
||||
int getMenuHeight();
|
||||
int getX();
|
||||
int getY();
|
||||
|
||||
|
|
Loading…
Reference in a new issue