History

more DataServerClient API tweaks

Stephen Birarda committed 12 years ago

Commit e08f4d21 parent 36137735 files · +34 −34Browse files

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

Unified · Split

interface/src/Menu.cpp+7−7
@@ -830,9 +830,9 @@ void Menu::editPreferences() { · 829 unmodified lines
830830 applicationInstance->getProfile()->setFaceModelURL(faceModelURL);
831831
832832 // send the new face mesh URL to the data-server (if we have a client UUID)
833− DataServerClient::putValueForKeyAndUsername(DataServerKey::FaceMeshURL,
834− faceModelURL.toString().toLocal8Bit().constData(),
835− applicationInstance->getProfile()->getUsername());
833+ DataServerClient::putValueForKeyAndUserString(DataServerKey::FaceMeshURL,
834+ faceModelURL.toString().toLocal8Bit().constData(),
835+ applicationInstance->getProfile()->getUserString());
836836 }
837837
838838 QUrl skeletonModelURL(skeletonURLEdit->text());
@@ -842,9 +842,9 @@ void Menu::editPreferences() { · 3 unmodified lines
842842 applicationInstance->getProfile()->setSkeletonModelURL(skeletonModelURL);
843843
844844 // send the new skeleton model URL to the data-server (if we have a client UUID)
845− DataServerClient::putValueForKeyAndUsername(DataServerKey::SkeletonURL,
846− skeletonModelURL.toString().toLocal8Bit().constData(),
847− applicationInstance->getProfile()->getUsername());
845+ DataServerClient::putValueForKeyAndUserString(DataServerKey::SkeletonURL,
846+ skeletonModelURL.toString().toLocal8Bit().constData(),
847+ applicationInstance->getProfile()->getUserString());
848848 }
849849
850850 applicationInstance->getAvatar()->getHead().setPupilDilation(pupilDilation->value() / (float)pupilDilation->maximum());
@@ -963,7 +963,7 @@ void Menu::goToUser() { · 112 unmodified lines
963963 int dialogReturn = userDialog.exec();
964964 if (dialogReturn == QDialog::Accepted && !userDialog.textValue().isEmpty()) {
965965 // there's a username entered by the user, make a request to the data-server
966− DataServerClient::getValuesForKeysAndUsername(
966+ DataServerClient::getValuesForKeysAndUserString(
967967 QStringList() << DataServerKey::Domain << DataServerKey::Position << DataServerKey::Orientation,
968968 userDialog.textValue(), Application::getInstance()->getProfile());
969969 }

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