mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:17:34 +00:00
ClipboardHistory: Add window icon
This commit is contained in:
parent
354a1a7891
commit
098f06f042
1 changed files with 3 additions and 0 deletions
|
@ -57,9 +57,12 @@ int main(int argc, char* argv[])
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto app_icon = GUI::Icon::default_icon("clipboard");
|
||||||
|
|
||||||
auto main_window = GUI::Window::construct();
|
auto main_window = GUI::Window::construct();
|
||||||
main_window->set_title("Clipboard history");
|
main_window->set_title("Clipboard history");
|
||||||
main_window->set_rect(670, 65, 325, 500);
|
main_window->set_rect(670, 65, 325, 500);
|
||||||
|
main_window->set_icon(app_icon.bitmap_for_size(16));
|
||||||
|
|
||||||
auto& table_view = main_window->set_main_widget<GUI::TableView>();
|
auto& table_view = main_window->set_main_widget<GUI::TableView>();
|
||||||
auto model = ClipboardHistoryModel::create();
|
auto model = ClipboardHistoryModel::create();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue