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

Fix build with new lib_ui commits.

This commit is contained in:
John Preston
2020-04-13 12:34:51 +04:00
parent 1d613995db
commit f5aba5a907
7 changed files with 12 additions and 14 deletions

View File

@@ -273,9 +273,7 @@ void SeparatePanel::showBox(
}
void SeparatePanel::showToast(const QString &text) {
auto toast = Ui::Toast::Config();
toast.text = text;
Ui::Toast::Show(this, toast);
Ui::Toast::Show(this, text);
}
void SeparatePanel::ensureLayerCreated() {