X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fdebugconsole.cpp;h=29ae930f45492a16882735b436ae5e7c8a0b4cad;hp=23bd9f0b27061a534a1e6c03cbd836943af380ac;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=921e54680da16fcf2adb7a90506875aceb6633a4 diff --git a/src/qtui/debugconsole.cpp b/src/qtui/debugconsole.cpp index 23bd9f0b..29ae930f 100644 --- a/src/qtui/debugconsole.cpp +++ b/src/qtui/debugconsole.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -19,10 +19,11 @@ ***************************************************************************/ #include "debugconsole.h" + #include "client.h" #include "signalproxy.h" -DebugConsole::DebugConsole(QWidget *parent) +DebugConsole::DebugConsole(QWidget* parent) : QDialog(parent) { ui.setupUi(this); @@ -31,12 +32,6 @@ DebugConsole::DebugConsole(QWidget *parent) Client::signalProxy()->attachSlot(SIGNAL(scriptResult(QString)), this, SLOT(scriptResult(QString))); } - -DebugConsole::~DebugConsole() -{ -} - - void DebugConsole::on_evalButton_clicked() { if (ui.selectCore->isChecked()) { @@ -44,7 +39,6 @@ void DebugConsole::on_evalButton_clicked() } } - void DebugConsole::scriptResult(QString result) { ui.resultLabel->setText(result);