summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/Swift.qrc1
-rw-r--r--Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp1
-rw-r--r--Swift/resources/icons/eraser.pngbin0 -> 774 bytes
3 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/Swift.qrc b/Swift/QtUI/Swift.qrc
index b9de5d6..197361e 100644
--- a/Swift/QtUI/Swift.qrc
+++ b/Swift/QtUI/Swift.qrc
@@ -26,6 +26,7 @@
<file alias="icons/text.png">../resources/icons/text.png</file>
<file alias="icons/polygon.png">../resources/icons/polygon.png</file>
<file alias="icons/cursor.png">../resources/icons/cursor.png</file>
+ <file alias="icons/eraser.png">../resources/icons/eraser.png</file>
<file alias="COPYING">../../COPYING</file>
</qresource>
</RCC>
diff --git a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp
index e6c9889..74c5a5f 100644
--- a/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp
+++ b/Swift/QtUI/Whiteboard/QtWhiteboardWindow.cpp
@@ -58,6 +58,7 @@ namespace Swift {
connect(brushColorDialogButton, SIGNAL(clicked()), this, SLOT(showBrushColorDialog()));
rubberButton = new QToolButton(this);
+ rubberButton->setIcon(QIcon(":/icons/eraser.png"));
rubberButton->setCheckable(true);
rubberButton->setAutoExclusive(true);
connect(rubberButton, SIGNAL(clicked()), this, SLOT(setRubberMode()));
diff --git a/Swift/resources/icons/eraser.png b/Swift/resources/icons/eraser.png
new file mode 100644
index 0000000..b9b7522
--- /dev/null
+++ b/Swift/resources/icons/eraser.png
Binary files differ