Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -394,10 +394,6 @@ int WindowScriptingInterface::getInnerHeight() { · 393 unmodified lines | |||
| 394 | return qApp->getDeviceSize().y; | 394 | return qApp->getDeviceSize().y; |
| 395 | } | 395 | } |
| 396 | 396 | ||
| 397 | int WindowScriptingInterface::getMenuHeight() { | ||
| 398 | return qApp->getPrimaryMenu()->geometry().height(); | ||
| 399 | } | ||
| 400 | |||
| 401 | glm::vec2 WindowScriptingInterface::getDeviceSize() const { | 397 | glm::vec2 WindowScriptingInterface::getDeviceSize() const { |
| 402 | return qApp->getDeviceSize(); | 398 | return qApp->getDeviceSize(); |
| 403 | } | 399 | } |