mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
Closed beta 1.1.23.5: Fix build for Xcode and GCC.
This commit is contained in:
parent
0a5ba3490d
commit
0811190527
2 changed files with 1 additions and 2 deletions
|
@ -46,7 +46,6 @@ void EmptyWidget::setFullHeight(rpl::producer<int> fullHeightValue) {
|
|||
|
||||
void EmptyWidget::setType(Type type) {
|
||||
_type = type;
|
||||
using Data = std::pair<const style::icon*, LangKey>;
|
||||
_icon = [&] {
|
||||
switch (_type) {
|
||||
case Type::Photo: return &st::infoEmptyPhoto;
|
||||
|
|
|
@ -80,7 +80,7 @@ public:
|
|||
// ClickHandlerHost interface
|
||||
void clickHandlerActiveChanged(const ClickHandlerPtr &p, bool active) override;
|
||||
|
||||
int resizeGetHeight(int width) {
|
||||
int resizeGetHeight(int width) override {
|
||||
_width = width;
|
||||
return _minh;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue