From 22b21fc392850974e2920804b641b1941140e46f Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 10 Sep 2008 13:31:07 +0000 Subject: We've got icons ... wee --- client/client.qrc | 3 ++- client/icons/icon.png | Bin 0 -> 6110 bytes client/widgets/window.cc | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 client/icons/icon.png diff --git a/client/client.qrc b/client/client.qrc index 81e5653..2ef2314 100644 --- a/client/client.qrc +++ b/client/client.qrc @@ -1,4 +1,5 @@ - + + icons/icon.png diff --git a/client/icons/icon.png b/client/icons/icon.png new file mode 100644 index 0000000..b18a880 Binary files /dev/null and b/client/icons/icon.png differ diff --git a/client/widgets/window.cc b/client/widgets/window.cc index 84e370c..fa44875 100644 --- a/client/widgets/window.cc +++ b/client/widgets/window.cc @@ -27,11 +27,15 @@ #include "window.h" #include "common.h" +#include + Window::Window(QDomNode &node, MacroWindow *macrowindow) : QWidget(NULL), Widget(node, macrowindow) { setWindowFlags(Qt::WindowContextHelpButtonHint | Qt::WindowSystemMenuHint); + setWindowIcon(QIcon(":/icons/icon.png")); + setCommonAttributes(this, node); setCommonLayout(this, node); -- cgit v1.2.3