History

Merge branch 'master' of https://github.com/highfidelity/hifi into workload

samcake committed 8 years ago

Commit 1cd662a2 parents ff93be8 f2c38a712 files · +78 −45Browse files

Showing the changes to interface/src/Application.cpp (1 of 12 files). Show all

Unified · Split

interface/src/Application.cpp+9−9
@@ -225,8 +225,8 @@ · 224 unmodified lines
225225 #ifdef DEBUG_EVENT_QUEUE
226226 // This is a HACK that uses private headers included with the qt source distrubution.
227227 // To use this feature you need to add these directores to your include path:
228−// E:/Qt/5.9.1/Src/qtbase/include/QtCore/5.9.1/QtCore
229−// E:/Qt/5.9.1/Src/qtbase/include/QtCore/5.9.1
228+// E:/Qt/5.10.1/Src/qtbase/include/QtCore/5.10.1/QtCore
229+// E:/Qt/5.10.1/Src/qtbase/include/QtCore/5.10.1
230230 #define QT_BOOTSTRAPPED
231231 #include <private/qthread_p.h>
232232 #include <private/qobject_p.h>
@@ -2038,7 +2038,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1805 unmodified lines
20382038 });
20392039
20402040 _snapshotSound = DependencyManager::get<SoundCache>()->getSound(PathUtils::resourcesUrl("sounds/snap.wav"));
2041−
2041+
20422042 QVariant testProperty = property(hifi::properties::TEST);
20432043 qDebug() << testProperty;
20442044 if (testProperty.isValid()) {
@@ -6590,7 +6590,7 @@ void Application::addAssetToWorldFromURL(QString url) { · 4545 unmodified lines
65906590 } else {
65916591 filename.remove(".zip");
65926592 }
6593−
6593+
65946594 }
65956595
65966596 if (!DependencyManager::get<NodeList>()->getThisNodeCanWriteAssets()) {
@@ -6764,7 +6764,7 @@ void Application::addAssetToWorldSetMapping(QString filePath, QString mapping, Q · 167 unmodified lines
67646764 addAssetToWorldError(filenameFromPath(filePath), errorInfo);
67656765 } else {
67666766 // to prevent files that aren't models or texture files from being loaded into world automatically
6767− if ((filePath.toLower().endsWith(OBJ_EXTENSION) || filePath.toLower().endsWith(FBX_EXTENSION)) ||
6767+ if ((filePath.toLower().endsWith(OBJ_EXTENSION) || filePath.toLower().endsWith(FBX_EXTENSION)) ||
67686768 ((filePath.toLower().endsWith(JPG_EXTENSION) || filePath.toLower().endsWith(PNG_EXTENSION)) &&
67696769 ((!isBlocks) && (!isZip)))) {
67706770 addAssetToWorldAddEntity(filePath, mapping);
@@ -7413,8 +7413,8 @@ bool Application::isThrottleRendering() const { · 642 unmodified lines
74137413 bool Application::hasFocus() const {
74147414 bool result = (QApplication::activeWindow() != nullptr);
74157415 #if defined(Q_OS_WIN)
7416− // On Windows, QWidget::activateWindow() - as called in setFocus() - makes the application's taskbar icon flash but doesn't
7417− // take user focus away from their current window. So also check whether the application is the user's current foreground
7416+ // On Windows, QWidget::activateWindow() - as called in setFocus() - makes the application's taskbar icon flash but doesn't
7417+ // take user focus away from their current window. So also check whether the application is the user's current foreground
74187418 // window.
74197419 result = result && (HWND)QApplication::activeWindow()->winId() == GetForegroundWindow();
74207420 #endif
@@ -7422,7 +7422,7 @@ bool Application::hasFocus() const { · 1 unmodified line
74227422 }
74237423
74247424 void Application::setFocus() {
7425− // Note: Windows doesn't allow a user focus to be taken away from another application. Instead, it changes the color of and
7425+ // Note: Windows doesn't allow a user focus to be taken away from another application. Instead, it changes the color of and
74267426 // flashes the taskbar icon.
74277427 auto window = qApp->getWindow();
74287428 window->activateWindow();
@@ -7663,7 +7663,7 @@ void Application::updateDisplayMode() { · 234 unmodified lines
76637663 menu->setIsOptionChecked(MenuOption::FirstPerson, true);
76647664 cameraMenuChanged();
76657665 }
7666−
7666+
76677667 // Remove the mirror camera option from menu if in HMD mode
76687668 auto mirrorAction = menu->getActionForOption(MenuOption::FullscreenMirror);
76697669 mirrorAction->setVisible(!isHmd);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t