summaryrefslogtreecommitdiffstats
path: root/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp')
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp b/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
index 092e1a7e5..d11851c60 100644
--- a/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
+++ b/tdeprint/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_.tqat();
+ index = locs_.at();
locs_.remove();
break;
}
@@ -149,7 +149,7 @@ void CupsdSecurityPage::slotAdd()
void CupsdSecurityPage::slotEdit(int index)
{
- CupsLocation *loc = locs_.tqat(index);
+ CupsLocation *loc = locs_.at(index);
LocationDialog::editLocation(loc, this, conf_);
}