diff options
Diffstat (limited to 'client/cprquerydialog.cc')
-rw-r--r-- | client/cprquerydialog.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/client/cprquerydialog.cc b/client/cprquerydialog.cc index 15e00d1..1461943 100644 --- a/client/cprquerydialog.cc +++ b/client/cprquerydialog.cc @@ -33,8 +33,7 @@ #include "cprquerydialog.h" #include "miav_config.h" -CPRQueryDialog::CPRQueryDialog(Info *info, - QLabel *lcpr, +CPRQueryDialog::CPRQueryDialog(QLabel *lcpr, QLabel *lname, QWidget *parent, const char *name, @@ -42,7 +41,6 @@ CPRQueryDialog::CPRQueryDialog(Info *info, : QDialog(parent) { setModal(true); - this->info = info; setWindowTitle(name); // Load image @@ -118,7 +116,7 @@ CPRQueryDialog::CPRQueryDialog(Info *info, this->move(175,150); - listen = new CPRListen(info, config->readInt("cprlisten_port")); + listen = new CPRListen(config->readInt("cprlisten_port")); listen_timer = new QTimer(this); connect(listen_timer, SIGNAL(timeout()), SLOT(listen_timeout())); listen->run(); @@ -381,7 +379,6 @@ void CPRQueryDialog::cprSocket_error(int errnum) if(statusbar) statusbar->showMessage(msg, 5000); MessageBox(this, "Fejl", msg.toStdString().c_str(), TYPE_OK, ICON_ERROR).exec(); - //info->error(msg.c_str()); accept(); } |