X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtopia%2Fqtopiamainwin.cpp;h=b35c0435e2b9978b06fb880f9b13836fc70bc699;hp=68b2ef1e262b4b6e97e755dcf51f2d771e7ee705;hb=c6bc07febff322910675a1eb60c44f6be209a934;hpb=e579b77068ae216e275fee0bb560c2a4ea9c7225 diff --git a/src/qtopia/qtopiamainwin.cpp b/src/qtopia/qtopiamainwin.cpp index 68b2ef1e..b35c0435 100644 --- a/src/qtopia/qtopiamainwin.cpp +++ b/src/qtopia/qtopiamainwin.cpp @@ -39,12 +39,7 @@ // This constructor is the first thing to be called for a Qtopia app, so we do the init stuff // here (rather than in a main.cpp). QtopiaMainWin::QtopiaMainWin(QWidget *parent, Qt::WFlags flags) : QMainWindow(parent, flags) { - qRegisterMetaType("QVariant"); - qRegisterMetaType("Message"); - qRegisterMetaType("BufferInfo"); - qRegisterMetaTypeStreamOperators("QVariant"); - qRegisterMetaTypeStreamOperators("Message"); - qRegisterMetaTypeStreamOperators("BufferInfo"); + Global::registerMetaTypes(); Global::runMode = Global::ClientOnly; Global::defaultPort = 4242;