Reformat ALL the source!
[quassel.git] / src / uisupport / icon.cpp
index a8785b2..e758e04 100644 (file)
 #include "icon.h"
 #include "iconloader.h"
 
-Icon::Icon() : QIcon() {
-
+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(const QIcon &copy) : QIcon(copy)
+{
 }
 
-Icon& Icon::operator=(const Icon &other) {
-  if (this != &other) {
-    QIcon::operator=(other);
-  }
-  return *this;
+
+Icon &Icon::operator=(const Icon &other)
+{
+    if (this != &other) {
+        QIcon::operator=(other);
+    }
+    return *this;
 }
 
+
 #endif