mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +02:00
actually pass launchURLString to RenderingClient
This commit is contained in:
parent
f37fc30e0c
commit
de5a0fe157
1 changed files with 8 additions and 5 deletions
|
@ -36,17 +36,20 @@
|
|||
|
||||
#include "GVRInterface.h"
|
||||
|
||||
static QString launchURLString = "";
|
||||
static QString launchURLString = QString();
|
||||
|
||||
GVRInterface::GVRInterface(int argc, char* argv[]) :
|
||||
QApplication(argc, argv),
|
||||
_inVRMode(false)
|
||||
{
|
||||
// did we get launched with a lookup URL? If so it is time to give that to the AddressManager
|
||||
qDebug() << "We were opened via a hifi URL -" << launchURLString;
|
||||
launchURLString = "";
|
||||
if (!launchURLString.isEmpty()) {
|
||||
// did we get launched with a lookup URL? If so it is time to give that to the AddressManager
|
||||
qDebug() << "We were opened via a hifi URL -" << launchURLString;
|
||||
}
|
||||
|
||||
_client = new RenderingClient(this);
|
||||
_client = new RenderingClient(this, launchURLString);
|
||||
|
||||
launchURLString = QString();
|
||||
|
||||
connect(this, &QGuiApplication::applicationStateChanged, this, &GVRInterface::handleApplicationStateChange);
|
||||
|
||||
|
|
Loading…
Reference in a new issue