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

Fixing critical infinite recursion in HistoryInner, closed beta 9049003.

Langs updated. Title fixed for supergroups in report box.
This commit is contained in:
John Preston
2016-06-08 15:22:57 +03:00
parent e2bac118c5
commit 7f54bd0bfc
13 changed files with 48 additions and 47 deletions

View File

@@ -50,7 +50,7 @@ void ReportBox::paintEvent(QPaintEvent *e) {
Painter p(this);
if (paint(p)) return;
paintTitle(p, lang(lng_report_title));
paintTitle(p, lang(_channel->isMegagroup() ? lng_report_title : lng_report_group_title));
}
void ReportBox::resizeEvent(QResizeEvent *e) {

View File

@@ -22,7 +22,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
#include "core/basic_types.h"
#define BETA_VERSION_MACRO (9049002ULL)
#define BETA_VERSION_MACRO (9049003ULL)
constexpr int AppVersion = 9049;
constexpr str_const AppVersionStr = "0.9.49";

View File

@@ -1555,7 +1555,7 @@ HistoryInner::~HistoryInner() {
bool HistoryInner::focusNextPrevChild(bool next) {
if (_selected.isEmpty()) {
return focusNextPrevChild(next);
return TWidget::focusNextPrevChild(next);
} else {
clearSelectedItems();
return true;