summaryrefslogtreecommitdiff
path: root/client/cprquerydialog.cc
diff options
context:
space:
mode:
authordeva <deva>2006-03-07 10:37:59 +0000
committerdeva <deva>2006-03-07 10:37:59 +0000
commit1390ddfe6afe41dba141f8170f9b277573ebe8cd (patch)
treefd6861f3eab3a4721f2445540279a8223d7cd1a3 /client/cprquerydialog.cc
parent19ade36987f86c9b4cd4c5ec3fc6c499205c61ec (diff)
*** empty log message ***
Diffstat (limited to 'client/cprquerydialog.cc')
-rw-r--r--client/cprquerydialog.cc7
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();
}