summaryrefslogtreecommitdiff
path: root/src/cprquerydialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cprquerydialog.cc')
-rw-r--r--src/cprquerydialog.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cprquerydialog.cc b/src/cprquerydialog.cc
index 07a4df6..8420b4d 100644
--- a/src/cprquerydialog.cc
+++ b/src/cprquerydialog.cc
@@ -39,16 +39,15 @@ CPRQueryDialog::CPRQueryDialog(QLabel *lcpr,
: QDialog(parent, name, TRUE)
{
setCaption(name);
- MiavConfig cfg("cprquery.conf");
lbl_name = lname;
lbl_cpr = lcpr;
statusbar = status;
//Read configuration
- CPR_HOST = cfg.readString("cpr_host");
- CPR_PORT = cfg.readInt("cpr_port");
- CPR_TIMEOUT = cfg.readInt("cpr_timeout");
+ CPR_HOST = config->readString("cpr_host");
+ CPR_PORT = config->readInt("cpr_port");
+ CPR_TIMEOUT = config->readInt("cpr_timeout");
cpr[0] = '\0';
internalCpr[0] = '\0';