History

Update docs with correct qt version

Clement committed 8 years ago

Commit 157ca8c1 parent 3d90f936 files · +34 −34Browse files

Showing the changes to interface/src/Application.cpp (1 of 6 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()) {
@@ -6577,7 +6577,7 @@ void Application::addAssetToWorldFromURL(QString url) { · 4532 unmodified lines
65776577 } else {
65786578 filename.remove(".zip");
65796579 }
6580−
6580+
65816581 }
65826582
65836583 if (!DependencyManager::get<NodeList>()->getThisNodeCanWriteAssets()) {
@@ -6751,7 +6751,7 @@ void Application::addAssetToWorldSetMapping(QString filePath, QString mapping, Q · 167 unmodified lines
67516751 addAssetToWorldError(filenameFromPath(filePath), errorInfo);
67526752 } else {
67536753 // to prevent files that aren't models or texture files from being loaded into world automatically
6754− if ((filePath.toLower().endsWith(OBJ_EXTENSION) || filePath.toLower().endsWith(FBX_EXTENSION)) ||
6754+ if ((filePath.toLower().endsWith(OBJ_EXTENSION) || filePath.toLower().endsWith(FBX_EXTENSION)) ||
67556755 ((filePath.toLower().endsWith(JPG_EXTENSION) || filePath.toLower().endsWith(PNG_EXTENSION)) &&
67566756 ((!isBlocks) && (!isZip)))) {
67576757 addAssetToWorldAddEntity(filePath, mapping);
@@ -7400,8 +7400,8 @@ bool Application::isThrottleRendering() const { · 642 unmodified lines
74007400 bool Application::hasFocus() const {
74017401 bool result = (QApplication::activeWindow() != nullptr);
74027402 #if defined(Q_OS_WIN)
7403− // On Windows, QWidget::activateWindow() - as called in setFocus() - makes the application's taskbar icon flash but doesn't
7404− // take user focus away from their current window. So also check whether the application is the user's current foreground
7403+ // On Windows, QWidget::activateWindow() - as called in setFocus() - makes the application's taskbar icon flash but doesn't
7404+ // take user focus away from their current window. So also check whether the application is the user's current foreground
74057405 // window.
74067406 result = result && (HWND)QApplication::activeWindow()->winId() == GetForegroundWindow();
74077407 #endif
@@ -7409,7 +7409,7 @@ bool Application::hasFocus() const { · 1 unmodified line
74097409 }
74107410
74117411 void Application::setFocus() {
7412− // Note: Windows doesn't allow a user focus to be taken away from another application. Instead, it changes the color of and
7412+ // Note: Windows doesn't allow a user focus to be taken away from another application. Instead, it changes the color of and
74137413 // flashes the taskbar icon.
74147414 auto window = qApp->getWindow();
74157415 window->activateWindow();
@@ -7650,7 +7650,7 @@ void Application::updateDisplayMode() { · 234 unmodified lines
76507650 menu->setIsOptionChecked(MenuOption::FirstPerson, true);
76517651 cameraMenuChanged();
76527652 }
7653−
7653+
76547654 // Remove the mirror camera option from menu if in HMD mode
76557655 auto mirrorAction = menu->getActionForOption(MenuOption::FullscreenMirror);
76567656 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