X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=5909c19f78f3b80a944fc03c7461e3f80dc4055d;hp=6478f8cc8804124d002838dcab8035d37988fcf1;hb=b243fc8b07e6cffff80af8844bbc4d5df7be7b0b;hpb=0ff679f6bdd6729d12bee1ed7a2b6ac812c3e31c diff --git a/src/uisupport/uistyle.cpp b/src/uisupport/uistyle.cpp index 6478f8cc..5909c19f 100644 --- a/src/uisupport/uistyle.cpp +++ b/src/uisupport/uistyle.cpp @@ -27,7 +27,7 @@ QHash UiStyle::_formatCodes; -UiStyle::UiStyle() { +UiStyle::UiStyle(QObject *parent) : QObject(parent) { // register FormatList if that hasn't happened yet // FIXME I don't think this actually avoids double registration... then again... does it hurt? if(QVariant::nameToType("UiStyle::FormatList") == QVariant::Invalid) {