mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 08:04:08 +02:00
Removed text commands from Export::View::TopBar.
This commit is contained in:
parent
10df3dce7c
commit
97dde7eb56
1 changed files with 7 additions and 7 deletions
|
@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "export/view/export_view_top_bar.h"
|
#include "export/view/export_view_top_bar.h"
|
||||||
|
|
||||||
#include "export/view/export_view_content.h"
|
#include "export/view/export_view_content.h"
|
||||||
|
#include "ui/text/text_utilities.h"
|
||||||
#include "ui/widgets/continuous_sliders.h"
|
#include "ui/widgets/continuous_sliders.h"
|
||||||
#include "ui/widgets/labels.h"
|
#include "ui/widgets/labels.h"
|
||||||
#include "ui/widgets/buttons.h"
|
#include "ui/widgets/buttons.h"
|
||||||
|
@ -39,13 +40,12 @@ void TopBar::updateData(Content &&content) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const auto &row = content.rows[0];
|
const auto &row = content.rows[0];
|
||||||
_info->setRichText(textcmdStartSemibold()
|
_info->setMarkedText(
|
||||||
+ TextUtilities::Clean(tr::lng_export_progress_title(tr::now))
|
Ui::Text::Bold(tr::lng_export_progress_title(tr::now))
|
||||||
+ textcmdStopSemibold()
|
.append(" \xe2\x80\x93 ")
|
||||||
+ QString::fromUtf8(" \xe2\x80\x93 ")
|
.append(row.label)
|
||||||
+ TextUtilities::Clean(row.label)
|
.append(' ')
|
||||||
+ ' '
|
.append(Ui::Text::PlainLink(row.info)));
|
||||||
+ textcmdLink(1, TextUtilities::Clean(row.info)));
|
|
||||||
_progress->setValue(row.progress);
|
_progress->setValue(row.progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue