projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing a bug that caused the client to request init data for ircUsers and ircChannel...
[quassel.git]
/
src
/
uisupport
/
icon.cpp
diff --git
a/src/uisupport/icon.cpp
b/src/uisupport/icon.cpp
index
729a88b
..
3694a3a
100644
(file)
--- a/
src/uisupport/icon.cpp
+++ b/
src/uisupport/icon.cpp
@@
-21,6
+21,21
@@
#include "icon.h"
#include "iconloader.h"
#include "icon.h"
#include "iconloader.h"
+Icon::Icon() : QIcon() {
+
+}
+
Icon::Icon(const QString &name) : QIcon() {
addPixmap(IconLoader::global()->loadIcon(name, IconLoader::Desktop));
}
Icon::Icon(const QString &name) : QIcon() {
addPixmap(IconLoader::global()->loadIcon(name, IconLoader::Desktop));
}
+
+Icon::Icon(const QIcon& copy) : QIcon(copy) {
+
+}
+
+Icon& Icon::operator=(const Icon &other) {
+ if (this != &other) {
+ QIcon::operator=(other);
+ }
+ return *this;
+}