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 | 394 | return qApp->getDeviceSize().y; |
| 395 | 395 | } |
| 396 | 396 | |
| 397 | −int WindowScriptingInterface::getMenuHeight() { | |
| 398 | − return qApp->getPrimaryMenu()->geometry().height(); | |
| 399 | −} | |
| 400 | − | |
| 401 | 397 | glm::vec2 WindowScriptingInterface::getDeviceSize() const { |
| 402 | 398 | return qApp->getDeviceSize(); |
| 403 | 399 | } |