summaryrefslogtreecommitdiff
path: root/src/cprquerydialog.cc
diff options
context:
space:
mode:
authordeva <deva>2005-04-26 07:53:37 +0000
committerdeva <deva>2005-04-26 07:53:37 +0000
commit805229c3b5a9b5078a273d175140b42445fd501a (patch)
treec272ac633cbc6914c585c9d196b4406d4cca2949 /src/cprquerydialog.cc
parent3ac7bf67ffca34e84053b2721aba922baf30d660 (diff)
Made variable argument pushError method
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';