mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 13:53:38 +02:00
Merge branch 'loginInitiative2' of https://github.com/wayne-chen/hifi into loginInitiative2
This commit is contained in:
commit
3555276817
4 changed files with 3 additions and 8 deletions
|
@ -2345,8 +2345,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
|||
DependencyManager::get<TabletScriptingInterface>()->preloadSounds();
|
||||
DependencyManager::get<Keyboard>()->createKeyboard();
|
||||
|
||||
connect(DependencyManager::get<Keyboard>().data(), SIGNAL(keyboardRaisedChanged(bool)), this, SLOT(onKeyboardRaisedChanged(bool)));
|
||||
|
||||
_pendingIdleEvent = false;
|
||||
_pendingRenderEvent = false;
|
||||
|
||||
|
@ -6724,7 +6722,7 @@ void Application::hmdVisibleChanged(bool visible) {
|
|||
}
|
||||
}
|
||||
|
||||
void Application::onKeyboardRaisedChanged(bool raised) {
|
||||
void Application::keyboardRaisedChanged(bool raised) {
|
||||
auto keyboard = DependencyManager::get<Keyboard>().data();
|
||||
auto keyboardParentID = getOverlays().getProperty(keyboard->getAnchorID(), "parentID");
|
||||
if (raised && !_loginDialogOverlayID.isNull()) {
|
||||
|
|
|
@ -393,7 +393,7 @@ public slots:
|
|||
|
||||
void hmdVisibleChanged(bool visible);
|
||||
|
||||
void onKeyboardRaisedChanged(bool raised);
|
||||
void keyboardRaisedChanged(bool raised);
|
||||
|
||||
#if (PR_BUILD || DEV_BUILD)
|
||||
void sendWrongProtocolVersionsSignature(bool checked) { ::sendWrongProtocolVersionsSignature(checked); }
|
||||
|
|
|
@ -292,7 +292,7 @@ void Keyboard::setRaised(bool raised) {
|
|||
_capsEnabled = false;
|
||||
_typedCharacters.clear();
|
||||
});
|
||||
emit keyboardRaisedChanged(raised);
|
||||
qApp->keyboardRaisedChanged(raised);
|
||||
|
||||
updateTextDisplay();
|
||||
}
|
||||
|
|
|
@ -101,9 +101,6 @@ public:
|
|||
QVector<OverlayID> getKeysID();
|
||||
OverlayID getAnchorID();
|
||||
|
||||
signals:
|
||||
void keyboardRaisedChanged(bool raised);
|
||||
|
||||
public slots:
|
||||
void handleTriggerBegin(const OverlayID& overlayID, const PointerEvent& event);
|
||||
void handleTriggerEnd(const OverlayID& overlayID, const PointerEvent& event);
|
||||
|
|
Loading…
Reference in a new issue