X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Ficon.cpp;h=e758e047f6c28f857c05a0ec7a3efe8bd1e28f51;hp=a8785b20379dc1c6bfd2621ec8f9b763117f2355;hb=694f9bfbf7f1af19108461c7e00d133e55082bce;hpb=61c8d84d1c849373e0f115dc748ed45cff95287d diff --git a/src/uisupport/icon.cpp b/src/uisupport/icon.cpp index a8785b20..e758e047 100644 --- a/src/uisupport/icon.cpp +++ b/src/uisupport/icon.cpp @@ -23,23 +23,29 @@ #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 ©) : 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