summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp')
-rw-r--r--kdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp b/kdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
index 39da4d383..5be680300 100644
--- a/kdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
+++ b/kdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
@@ -127,7 +127,7 @@ void CupsdSecurityPage::slotAdd()
{
if (KMessageBox::warningContinueCancel(this, i18n("This location is already defined. Do you want to replace the existing one?"),TQString::null,i18n("Replace")) == KMessageBox::Continue)
{
- index = locs_.at();
+ index = locs_.tqat();
locs_.remove();
break;
}
@@ -149,7 +149,7 @@ void CupsdSecurityPage::slotAdd()
void CupsdSecurityPage::slotEdit(int index)
{
- CupsLocation *loc = locs_.at(index);
+ CupsLocation *loc = locs_.tqat(index);
LocationDialog::editLocation(loc, this, conf_);
}