diff options
author | deva <deva> | 2006-01-10 11:18:50 +0000 |
---|---|---|
committer | deva <deva> | 2006-01-10 11:18:50 +0000 |
commit | cbe575f21ab008182b5771b691ec4c93c5b2b87a (patch) | |
tree | eda4f44e4a10d179c06bcf89be95052038c7503b /src/cprquerydialog.cc | |
parent | 6568c8ec81fac9bee7ceceaee0de7455ac006160 (diff) |
*** empty log message ***
Diffstat (limited to 'src/cprquerydialog.cc')
-rw-r--r-- | src/cprquerydialog.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cprquerydialog.cc b/src/cprquerydialog.cc index 552aeb6..19337a4 100644 --- a/src/cprquerydialog.cc +++ b/src/cprquerydialog.cc @@ -33,13 +33,15 @@ #include "cprquerydialog.h" #include "miav_config.h" -CPRQueryDialog::CPRQueryDialog(QLabel *lcpr, +CPRQueryDialog::CPRQueryDialog(Info *info, + QLabel *lcpr, QLabel *lname, QWidget *parent, const char *name, QStatusBar *status) : QDialog(parent, name, TRUE) { + this->info = info; setCaption(name); // Load image @@ -115,7 +117,7 @@ CPRQueryDialog::CPRQueryDialog(QLabel *lcpr, this->move(175,150); - listen = new CPRListen(config->readInt("cprlisten_port")); + listen = new CPRListen(info, config->readInt("cprlisten_port")); listen_timer = new QTimer(this); connect(listen_timer, SIGNAL(timeout()), SLOT(listen_timeout())); listen->run(); @@ -377,6 +379,7 @@ void CPRQueryDialog::cprSocket_error(int errnum) if(statusbar) statusbar->message(msg, 5000); MessageBox(this, "Fejl", msg, TYPE_OK, ICON_ERROR).exec(); + //info->error(msg.c_str()); accept(); } |