Showing the changes to interface/src/ui/ApplicationOverlay.cpp (1 of 29 files). Show all
Unified · Split
| @@ -12,6 +12,8 @@ · 11 unmodified lines | ||
| 12 | 12 | #include "InterfaceConfig.h" |
| 13 | 13 | |
| 14 | 14 | #include <QOpenGLFramebufferObject> |
| 15 | + | |
| 16 | +#include <PathUtils.h> | |
| 15 | 17 | #include <PerfStat.h> |
| 16 | 18 | |
| 17 | 19 | #include "Application.h" |
| @@ -379,7 +381,7 @@ void ApplicationOverlay::displayOverlayTexture3DTV(Camera& whichCamera, float as · 361 unmodified lines | ||
| 379 | 381 | glEnd(); |
| 380 | 382 | |
| 381 | 383 | if (_crosshairTexture == 0) { |
| 382 | − _crosshairTexture = Application::getInstance()->getGLWidget()->bindTexture(QImage(Application::resourcesPath() + "images/sixense-reticle.png")); | |
| 384 | + _crosshairTexture = Application::getInstance()->getGLWidget()->bindTexture(QImage(PathUtils::resourcesPath() + "images/sixense-reticle.png")); | |
| 383 | 385 | } |
| 384 | 386 | |
| 385 | 387 | //draw the mouse pointer |
| @@ -513,7 +515,7 @@ void ApplicationOverlay::renderPointers() { · 127 unmodified lines | ||
| 513 | 515 | |
| 514 | 516 | //lazily load crosshair texture |
| 515 | 517 | if (_crosshairTexture == 0) { |
| 516 | − _crosshairTexture = Application::getInstance()->getGLWidget()->bindTexture(QImage(Application::resourcesPath() + "images/sixense-reticle.png")); | |
| 518 | + _crosshairTexture = Application::getInstance()->getGLWidget()->bindTexture(QImage(PathUtils::resourcesPath() + "images/sixense-reticle.png")); | |
| 517 | 519 | } |
| 518 | 520 | glEnable(GL_TEXTURE_2D); |
| 519 | 521 | |