Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -264,6 +264,10 @@ void WindowScriptingInterface::showAssetServer(const QString& upload) { · 263 unmodified lines | ||
| 264 | 264 | QMetaObject::invokeMethod(qApp, "showAssetServerWidget", Qt::QueuedConnection, Q_ARG(QString, upload)); |
| 265 | 265 | } |
| 266 | 266 | |
| 267 | +int WindowScriptingInterface::checkVersion() { | |
| 268 | + return QCoreApplication::applicationVersion().toInt(); | |
| 269 | +} | |
| 270 | + | |
| 267 | 271 | int WindowScriptingInterface::getInnerWidth() { |
| 268 | 272 | return qApp->getWindow()->geometry().width(); |
| 269 | 273 | } |