Add Window.protocolSignature() as a replacement for location.protocolVersion()
Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 8 files). Show all
Unified · Split
| @@ -390,6 +390,10 @@ QString WindowScriptingInterface::checkVersion() { · 389 unmodified lines | |||
| 390 | return QCoreApplication::applicationVersion(); | 390 | return QCoreApplication::applicationVersion(); |
| 391 | } | 391 | } |
| 392 | 392 | ||
| 393 | QString WindowScriptingInterface::protocolSignature() { | ||
| 394 | return protocolVersionsSignatureBase64(); | ||
| 395 | } | ||
| 396 | |||
| 393 | int WindowScriptingInterface::getInnerWidth() { | 397 | int WindowScriptingInterface::getInnerWidth() { |
| 394 | return qApp->getDeviceSize().x; | 398 | return qApp->getDeviceSize().x; |
| 395 | } | 399 | } |