From 5099a0e06126edce98b7df50cd8b2fdcee2af76a Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Thu, 10 Apr 2014 11:41:10 -0700 Subject: [PATCH] Remove chat window opening animation --- interface/src/Menu.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/interface/src/Menu.cpp b/interface/src/Menu.cpp index 70e69597f6..ba3ea45229 100644 --- a/interface/src/Menu.cpp +++ b/interface/src/Menu.cpp @@ -1212,12 +1212,6 @@ void Menu::showChat() { _chatWindow->resize(0, _chatWindow->height()); _chatWindow->toggleViewAction()->trigger(); - QPropertyAnimation* slideAnimation = new QPropertyAnimation(_chatWindow, "geometry", _chatWindow); - slideAnimation->setStartValue(_chatWindow->geometry()); - slideAnimation->setEndValue(QRect(mainWindow->width() - width, _chatWindow->y(), - width, _chatWindow->height())); - slideAnimation->setDuration(250); - slideAnimation->start(QAbstractAnimation::DeleteWhenStopped); } }