Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -264,8 +264,8 @@ 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(); | |
| 267 | +QString WindowScriptingInterface::checkVersion() { | |
| 268 | + return QCoreApplication::applicationVersion(); | |
| 269 | 269 | } |
| 270 | 270 | |
| 271 | 271 | int WindowScriptingInterface::getInnerWidth() { |