1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 15:55:08 +00:00

ChanViewer: Give this application a simple window icon

This commit is contained in:
Andreas Kling 2019-08-04 14:53:32 +02:00
parent 3eb1a7f8f8
commit d0c1724d5b
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#include "ThreadCatalogModel.h"
#include <LibDraw/PNGLoader.h>
#include <LibGUI/GApplication.h>
#include <LibGUI/GBoxLayout.h>
#include <LibGUI/GTableView.h>
@ -11,6 +12,7 @@ int main(int argc, char** argv)
auto* window = new GWindow;
window->set_title("ChanViewer");
window->set_rect(100, 100, 640, 480);
window->set_icon(load_png("/res/icons/16x16/app-chanviewer.png"));
auto* widget = new GWidget;
window->set_main_widget(widget);