summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2008-09-10 13:31:07 +0000
committerdeva <deva>2008-09-10 13:31:07 +0000
commit22b21fc392850974e2920804b641b1941140e46f (patch)
treed4ea97b7562abb5632e2c9d0c2c86ab8d1b93115
parent13960b2e71db99ac6de3251d92d4490b08542635 (diff)
We've got icons ... wee
-rw-r--r--client/client.qrc3
-rw-r--r--client/icons/icon.pngbin0 -> 6110 bytes
-rw-r--r--client/widgets/window.cc4
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
new file mode 100644
index 0000000..b18a880
--- /dev/null
+++ b/client/icons/icon.png
Binary files 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 <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);