fixed maximize button in windows

This commit is contained in:
John Preston 2014-11-18 18:22:05 +03:00
parent cfcf4d2336
commit 5d649f750b
1 changed files with 1 additions and 2 deletions

View File

@ -63,12 +63,11 @@ TitleWidget::TitleWidget(Window *window)
{ {
setGeometry(0, 0, wnd->width(), st::titleHeight); setGeometry(0, 0, wnd->width(), st::titleHeight);
stateChanged();
_update.hide(); _update.hide();
if (App::app()->updatingState() == Application::UpdatingReady) { if (App::app()->updatingState() == Application::UpdatingReady) {
showUpdateBtn(); showUpdateBtn();
} }
stateChanged();
connect(&_settings, SIGNAL(clicked()), window, SLOT(showSettings())); connect(&_settings, SIGNAL(clicked()), window, SLOT(showSettings()));
connect(&_contacts, SIGNAL(clicked()), this, SLOT(onContacts())); connect(&_contacts, SIGNAL(clicked()), this, SLOT(onContacts()));