mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +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;
|
return qApp->getDeviceSize().y;
|
||||||
}
|
}
|
||||||
|
|
||||||
int WindowScriptingInterface::getMenuHeight() {
|
|
||||||
return qApp->getPrimaryMenu()->geometry().height();
|
|
||||||
}
|
|
||||||
|
|
||||||
glm::vec2 WindowScriptingInterface::getDeviceSize() const {
|
glm::vec2 WindowScriptingInterface::getDeviceSize() const {
|
||||||
return qApp->getDeviceSize();
|
return qApp->getDeviceSize();
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,14 +39,12 @@ class WindowScriptingInterface : public QObject, public Dependency {
|
||||||
Q_PROPERTY(int innerHeight READ getInnerHeight)
|
Q_PROPERTY(int innerHeight READ getInnerHeight)
|
||||||
Q_PROPERTY(int x READ getX)
|
Q_PROPERTY(int x READ getX)
|
||||||
Q_PROPERTY(int y READ getY)
|
Q_PROPERTY(int y READ getY)
|
||||||
Q_PROPERTY(int menuHeight READ getMenuHeight)
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
WindowScriptingInterface();
|
WindowScriptingInterface();
|
||||||
~WindowScriptingInterface();
|
~WindowScriptingInterface();
|
||||||
int getInnerWidth();
|
int getInnerWidth();
|
||||||
int getInnerHeight();
|
int getInnerHeight();
|
||||||
int getMenuHeight();
|
|
||||||
int getX();
|
int getX();
|
||||||
int getY();
|
int getY();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue