diff options
author | deva <deva> | 2008-09-10 13:31:07 +0000 |
---|---|---|
committer | deva <deva> | 2008-09-10 13:31:07 +0000 |
commit | 22b21fc392850974e2920804b641b1941140e46f (patch) | |
tree | d4ea97b7562abb5632e2c9d0c2c86ab8d1b93115 /client | |
parent | 13960b2e71db99ac6de3251d92d4490b08542635 (diff) |
We've got icons ... wee
Diffstat (limited to 'client')
-rw-r--r-- | client/client.qrc | 3 | ||||
-rw-r--r-- | client/icons/icon.png | bin | 0 -> 6110 bytes | |||
-rw-r--r-- | client/widgets/window.cc | 4 |
3 files changed, 6 insertions, 1 deletions
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 @@ -<!DOCTYPE RCC><RCC version="1.0"> +<!DOCTYPE RCC> +<RCC version="1.0"> <qresource> <file>icons/icon.png</file> </qresource> diff --git a/client/icons/icon.png b/client/icons/icon.png Binary files differnew file mode 100644 index 0000000..b18a880 --- /dev/null +++ b/client/icons/icon.png 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 <QIcon> + 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); |