mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:17:58 +02:00
repairs for defines in GVRMainWindow
This commit is contained in:
parent
28d710877c
commit
c904a62e64
1 changed files with 9 additions and 5 deletions
|
@ -16,11 +16,16 @@
|
||||||
#include <QtWidgets/QVBoxLayout>
|
#include <QtWidgets/QVBoxLayout>
|
||||||
|
|
||||||
#ifndef ANDROID
|
#ifndef ANDROID
|
||||||
|
|
||||||
#include <QtWidgets/QDesktopWidget>
|
#include <QtWidgets/QDesktopWidget>
|
||||||
#else
|
|
||||||
#ifdef HAVE_LIBOVR
|
#elif defined(HAVE_LIBOVR)
|
||||||
|
|
||||||
#include <OVR_CAPI.h>
|
#include <OVR_CAPI.h>
|
||||||
#endif
|
|
||||||
|
const float LIBOVR_DOUBLE_TAP_DURATION = 0.25f;
|
||||||
|
const float LIBOVR_LONG_PRESS_DURATION = 0.75f;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <AddressManager.h>
|
#include <AddressManager.h>
|
||||||
|
@ -30,8 +35,7 @@
|
||||||
|
|
||||||
#include "GVRMainWindow.h"
|
#include "GVRMainWindow.h"
|
||||||
|
|
||||||
const float LIBOVR_DOUBLE_TAP_DURATION = 0.25f;
|
|
||||||
const float LIBOVR_LONG_PRESS_DURATION = 0.75f;
|
|
||||||
|
|
||||||
GVRMainWindow::GVRMainWindow(QWidget* parent) :
|
GVRMainWindow::GVRMainWindow(QWidget* parent) :
|
||||||
QMainWindow(parent),
|
QMainWindow(parent),
|
||||||
|
|
Loading…
Reference in a new issue