mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
Use layers and boxes from lib_ui.
This commit is contained in:
@@ -24,6 +24,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "lang/lang_keys.h"
|
||||
#include "mainwindow.h"
|
||||
#include "main/main_session.h"
|
||||
#include "styles/style_layers.h"
|
||||
#include "styles/style_boxes.h"
|
||||
#include "styles/style_history.h"
|
||||
|
||||
@@ -57,7 +58,7 @@ public:
|
||||
|
||||
};
|
||||
|
||||
class EditLinkBox : public BoxContent {
|
||||
class EditLinkBox : public Ui::BoxContent {
|
||||
public:
|
||||
EditLinkBox(
|
||||
QWidget*,
|
||||
@@ -247,7 +248,7 @@ Fn<bool(
|
||||
if (const auto strong = weak.data()) {
|
||||
strong->commitMarkdownLinkEdit(selection, text, link);
|
||||
}
|
||||
}), LayerOption::KeepOther);
|
||||
}), Ui::LayerOption::KeepOther);
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user