X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtui.cpp;h=e58777e6291a65016ff288cb1c156528fc3355d0;hp=e0fac9c4aacdab840f8defbdfe96438f0f2cbd3e;hb=c00b7e45809b6f3d6d02abbc1285728fe01af374;hpb=a2bf6dec2ea5a72d15a3310f8a7abc11988228c4 diff --git a/src/qtui/qtui.cpp b/src/qtui/qtui.cpp index e0fac9c4..e58777e6 100644 --- a/src/qtui/qtui.cpp +++ b/src/qtui/qtui.cpp @@ -22,9 +22,10 @@ #ifdef SPUTDEV # include "chatlinemodel.h" +#else +# include "chatline-old.h" #endif #include "mainwin.h" -#include "chatline-old.h" QtUiStyle *QtUi::_style; @@ -56,12 +57,16 @@ MessageModel *QtUi::createMessageModel(QObject *parent) { Q_UNUSED(parent) return 0; #else - return new ChatlineModel(parent); + return new ChatLineModel(parent); #endif } AbstractUiMsg *QtUi::layoutMsg(const Message &msg) { +#ifndef SPUTDEV return new ChatLineOld(msg); +#else + return 0; +#endif } void QtUi::connectedToCore() {