mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Move many widget classes to lib_ui.
This commit is contained in:
@@ -169,16 +169,6 @@ void showSettings() {
|
||||
}
|
||||
}
|
||||
|
||||
void activateClickHandler(ClickHandlerPtr handler, ClickContext context) {
|
||||
crl::on_main(App::wnd(), [=] {
|
||||
handler->onClick(context);
|
||||
});
|
||||
}
|
||||
|
||||
void activateClickHandler(ClickHandlerPtr handler, Qt::MouseButton button) {
|
||||
activateClickHandler(handler, ClickContext{ button });
|
||||
}
|
||||
|
||||
} // namespace App
|
||||
|
||||
namespace Ui {
|
||||
|
Reference in New Issue
Block a user