History

Merge conflicts

vladest committed 9 years ago

Commit 38295ab2 parents 15f8bc0 06ab8dd245 files · +12579 −6790Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 245 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.cpp+8−0
@@ -398,6 +398,10 @@ void WindowScriptingInterface::showAssetServer(const QString& upload) { · 397 unmodified lines
398398 QMetaObject::invokeMethod(qApp, "showAssetServerWidget", Qt::QueuedConnection, Q_ARG(QString, upload));
399399 }
400400
401+QString WindowScriptingInterface::checkVersion() {
402+ return QCoreApplication::applicationVersion();
403+}
404+
401405 int WindowScriptingInterface::getInnerWidth() {
402406 return qApp->getWindow()->geometry().width();
403407 }
@@ -428,6 +432,10 @@ void WindowScriptingInterface::takeSnapshot(bool notify, bool includeAnimated, f · 24 unmodified lines
428432 qApp->takeSnapshot(notify, includeAnimated, aspectRatio);
429433 }
430434
435+void WindowScriptingInterface::takeSecondaryCameraSnapshot() {
436+ qApp->takeSecondaryCameraSnapshot();
437+}
438+
431439 void WindowScriptingInterface::shareSnapshot(const QString& path, const QUrl& href) {
432440 qApp->shareSnapshot(path, href);
433441 }