diff options
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); |