mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-11 09:33:16 +02:00
Merge branch 'master' of github.com:highfidelity/hifi into instancing
This commit is contained in:
commit
95cabb7597
4 changed files with 11 additions and 2 deletions
|
@ -134,7 +134,7 @@ endif()
|
|||
downloadVcpkg = True
|
||||
|
||||
if not downloadVcpkg and not os.path.isfile(self.exe):
|
||||
print("Missing executable, boostrapping")
|
||||
print("Missing executable, boot-strapping")
|
||||
downloadVcpkg = True
|
||||
|
||||
# Make sure we have a vcpkg executable
|
||||
|
|
|
@ -384,6 +384,7 @@ Rectangle {
|
|||
placeholderTextColor: "#8E8E8E"
|
||||
font.pixelSize: 14
|
||||
placeholderText: width - leftPadding - rightPadding < goToTextFieldMetrics.width ? shortPlaceholderText : longPlaceholderText
|
||||
blankPlaceholderTextOnFocus: false
|
||||
clip: true
|
||||
selectByMouse: true
|
||||
autoScroll: true
|
||||
|
|
|
@ -808,6 +808,8 @@ void AccountManager::requestAccountSettings() {
|
|||
return;
|
||||
}
|
||||
|
||||
qCDebug(networking) << "Requesting the Account Settings from the Metaverse API";
|
||||
|
||||
QNetworkAccessManager& networkAccessManager = NetworkAccessManager::getInstance();
|
||||
|
||||
QUrl lockerURL = _authURL;
|
||||
|
@ -834,6 +836,9 @@ void AccountManager::requestAccountSettingsFinished() {
|
|||
if (rootObject.contains("status") && rootObject["status"].toString() == "success") {
|
||||
if (rootObject.contains("data") && rootObject["data"].isObject()) {
|
||||
_settings.unpack(rootObject["data"].toObject());
|
||||
_lastSuccessfulSyncTimestamp = _settings.lastChangeTimestamp();
|
||||
|
||||
qCDebug(networking) << "Received the Account Settings from the Metaverse API";
|
||||
|
||||
emit accountSettingsLoaded();
|
||||
} else {
|
||||
|
@ -874,6 +879,8 @@ void AccountManager::postAccountSettings() {
|
|||
return;
|
||||
}
|
||||
|
||||
qCDebug(networking) << "Account Settings have changed, pushing them to the Metaverse API";
|
||||
|
||||
QNetworkAccessManager& networkAccessManager = NetworkAccessManager::getInstance();
|
||||
|
||||
QUrl lockerURL = _authURL;
|
||||
|
|
|
@ -160,6 +160,7 @@ var SETTINGS_APP_WINDOW_FLAGS = 0x00000001 | // Qt::Window
|
|||
0x08000000 | // Qt::WindowCloseButtonHint
|
||||
0x00008000 | // Qt::WindowMaximizeButtonHint
|
||||
0x00004000; // Qt::WindowMinimizeButtonHint
|
||||
var SETTINGS_APP_RIGHT_MARGIN = 48;
|
||||
var settingsAppWindow = false;
|
||||
function toggleSettingsApp() {
|
||||
if (settingsAppWindow) {
|
||||
|
@ -179,7 +180,7 @@ function toggleSettingsApp() {
|
|||
y: SETTINGS_APP_HEIGHT_PX
|
||||
},
|
||||
position: {
|
||||
x: Math.max(Window.x + POPOUT_SAFE_MARGIN_X, Window.x + Window.innerWidth / 2 - SETTINGS_APP_WIDTH_PX / 2),
|
||||
x: Window.x + Window.innerWidth - SETTINGS_APP_WIDTH_PX - SETTINGS_APP_RIGHT_MARGIN,
|
||||
y: Math.max(Window.y + POPOUT_SAFE_MARGIN_Y, Window.y + Window.innerHeight / 2 - SETTINGS_APP_HEIGHT_PX / 2)
|
||||
},
|
||||
overrideFlags: SETTINGS_APP_WINDOW_FLAGS
|
||||
|
|
Loading…
Reference in a new issue