From 25322454134283f92aae11cf801c4e3ca96ed3bf Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 18 Nov 2014 16:18:42 +0300 Subject: [PATCH] fixed xcode warning --- Telegram/SourceFiles/sysbuttons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/sysbuttons.cpp b/Telegram/SourceFiles/sysbuttons.cpp index 8b0de6501d..fb9baf601e 100644 --- a/Telegram/SourceFiles/sysbuttons.cpp +++ b/Telegram/SourceFiles/sysbuttons.cpp @@ -24,7 +24,7 @@ Copyright (c) 2014 John Preston, https://tdesktop.com #include "application.h" SysBtn::SysBtn(QWidget *parent, const style::sysButton &st, const QString &text) : Button(parent), -_st(st), a_color(_st.color->c), _text(text), _overLevel(0) { +_st(st), a_color(_st.color->c), _overLevel(0), _text(text) { int32 w = _st.size.width() + (_text.isEmpty() ? 0 : ((_st.size.width() - _st.img.pxWidth()) / 2 + st::titleTextButton.font->m.width(_text))); resize(w, _st.size.height()); setCursor(style::cur_default);