2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

removed Prepare project (moved to PrepareWin.bat), fixed multimedia keys in Qt 5.4.0

This commit is contained in:
John Preston
2015-02-18 19:52:04 +03:00
parent 6077043939
commit 1d0a799b77
10 changed files with 56 additions and 321 deletions

View File

@@ -329,7 +329,7 @@ NotifyWindow::~NotifyWindow() {
if (App::wnd()) App::wnd()->notifyShowNext(this);
}
Window::Window(QWidget *parent) : PsMainWindow(parent), _serviceHistoryRequest(0),
Window::Window(QWidget *parent) : PsMainWindow(parent), _serviceHistoryRequest(0), title(0),
intro(0), main(0), settings(0), layerBG(0), _isActive(false), _topWidget(0),
_connecting(0), _clearManager(0), dragging(false), _inactivePress(false), _mediaView(0) {
@@ -1034,6 +1034,8 @@ TitleWidget *Window::getTitle() {
}
void Window::resizeEvent(QResizeEvent *e) {
if (!title) return;
bool wideMode = (width() >= st::wideModeWidth);
if (wideMode != cWideMode()) {
cSetWideMode(wideMode);