X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=6dcd8cd10b9c0ea77f9925ce49817ceeb2aa82c7;hp=7b177c1ae6287a70e8ecac80c2531c8f817c37f0;hb=ed6852b1e5a3968a29222e5655c1131cc723fe5a;hpb=0cc0a7626aa47a6fbb88da7e05dfc4d16a2ec616 diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 7b177c1a..6dcd8cd1 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -141,7 +141,7 @@ void MainWin::init() { ui.bufferWidget->setModel(Client::bufferModel()); ui.bufferWidget->setSelectionModel(Client::bufferModel()->standardSelectionModel()); - if(Global::SPUTDEV) { + if(Global::DEBUG) { //showSettingsDlg(); //showAboutDlg(); //showNetworkDlg(); @@ -484,8 +484,11 @@ void MainWin::setDisconnectedState() { } AbstractUiMsg *MainWin::layoutMsg(const Message &msg) { - if(Global::SPUTDEV) return new ChatLine(msg); +#ifdef SPUTDEV + return new ChatLine(msg); +#else return new ChatLineOld(msg); +#endif } void MainWin::showCoreConnectionDlg(bool autoConnect) {