Showing the changes to interface/src/Menu.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1212,12 +1212,6 @@ void Menu::showChat() { · 1211 unmodified lines | |||
| 1212 | _chatWindow->resize(0, _chatWindow->height()); | 1212 | _chatWindow->resize(0, _chatWindow->height()); |
| 1213 | _chatWindow->toggleViewAction()->trigger(); | 1213 | _chatWindow->toggleViewAction()->trigger(); |
| 1214 | 1214 | ||
| 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); | ||
| 1221 | } | 1215 | } |
| 1222 | } | 1216 | } |
| 1223 | 1217 | ||