summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kselectdatabasedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kselectdatabasedlg.cpp')
-rw-r--r--kmymoney2/dialogs/kselectdatabasedlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/dialogs/kselectdatabasedlg.cpp b/kmymoney2/dialogs/kselectdatabasedlg.cpp
index 47d092d..cf29d4e 100644
--- a/kmymoney2/dialogs/kselectdatabasedlg.cpp
+++ b/kmymoney2/dialogs/kselectdatabasedlg.cpp
@@ -62,7 +62,7 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(TQWidget *tqparent, const char *name)
TQStringList::Iterator it = list.begin();
while(it != list.end()) {
TQString dname = *it;
- if (map.keys().tqcontains(dname)) { // only display if driver is supported
+ if (map.keys().contains(dname)) { // only display if driver is supported
dname = dname + " - " + map[dname];
listDrivers->insertItem (dname);
}
@@ -106,11 +106,11 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(KURL openURL, TQWidget *tqparent, const c
TQStringList list = TQSqlDatabase::drivers();
// list drivers supported by KMM
TQMap<TQString, TQString> map = m_map.driverMap();
- if (!list.tqcontains(driverName)) {
+ if (!list.contains(driverName)) {
KMessageBox::error (0, i18n("TQt SQL driver %1 is no longer installed on your system").tqarg(driverName),
"");
setError();
- } else if (!map.tqcontains(driverName)) {
+ } else if (!map.contains(driverName)) {
KMessageBox::error (0, i18n("TQt SQL driver %1 is not suported").tqarg(driverName),
"");
setError();