summaryrefslogtreecommitdiffstats
path: root/tdeprint/cups/cupsdconf2/locationdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/cups/cupsdconf2/locationdialog.cpp')
-rw-r--r--tdeprint/cups/cupsdconf2/locationdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeprint/cups/cupsdconf2/locationdialog.cpp b/tdeprint/cups/cupsdconf2/locationdialog.cpp
index 7e1858cc7..3896f7845 100644
--- a/tdeprint/cups/cupsdconf2/locationdialog.cpp
+++ b/tdeprint/cups/cupsdconf2/locationdialog.cpp
@@ -128,7 +128,7 @@ void LocationDialog::setInfos(CupsdConf *conf)
void LocationDialog::fillLocation(CupsLocation *loc)
{
- loc->resource_ = conf_->resources_.tqat(resource_->currentItem());
+ loc->resource_ = conf_->resources_.at(resource_->currentItem());
loc->resourcename_ = loc->resource_->path_;
loc->authtype_ = authtype_->currentItem();
loc->authclass_ = (loc->authtype_ == AUTHTYPE_NONE ? AUTHCLASS_ANONYMOUS : authclass_->currentItem());