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:
@@ -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) {
|
||||
|
@@ -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";
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user