X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.cpp;h=5909c19f78f3b80a944fc03c7461e3f80dc4055d;hb=b243fc8b07e6cffff80af8844bbc4d5df7be7b0b;hp=6478f8cc8804124d002838dcab8035d37988fcf1;hpb=04c923c596fbde976b23979b92b0636635f97951;p=quassel.git 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) {