summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-08-04 14:53:32 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-08-04 14:53:32 +0200
commitd0c1724d5b06c39fe9ba88ad1e3870fe4e38de93 (patch)
treed78b0117ad614bd2cfe68cf9cc61f7d7bd29313a /Applications
parent3eb1a7f8f8828b4ad0a456f0966751dfbf2af49b (diff)
downloadserenity-d0c1724d5b06c39fe9ba88ad1e3870fe4e38de93.zip
ChanViewer: Give this application a simple window icon
Diffstat (limited to 'Applications')
-rw-r--r--Applications/ChanViewer/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Applications/ChanViewer/main.cpp b/Applications/ChanViewer/main.cpp
index 917df59be0..8efa6c14ea 100644
--- a/Applications/ChanViewer/main.cpp
+++ b/Applications/ChanViewer/main.cpp
@@ -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);