History

Remove chat window opening animation

Ryan Huffman committed 12 years ago

Commit 5099a0e1 parent 89c28121 file · +0 −6Browse files

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

Unified · Split

interface/src/Menu.cpp+0−6
@@ -1212,12 +1212,6 @@ void Menu::showChat() { · 1211 unmodified lines
12121212 _chatWindow->resize(0, _chatWindow->height());
12131213 _chatWindow->toggleViewAction()->trigger();
12141214
1215− QPropertyAnimation* slideAnimation = new QPropertyAnimation(_chatWindow, "geometry", _chatWindow);
1216− slideAnimation->setStartValue(_chatWindow->geometry());
1217− slideAnimation->setEndValue(QRect(mainWindow->width() - width, _chatWindow->y(),
1218− width, _chatWindow->height()));
1219− slideAnimation->setDuration(250);
1220− slideAnimation->start(QAbstractAnimation::DeleteWhenStopped);
12211215 }
12221216 }
12231217