Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/sql/sqlstorage.cpp
Context not available. | |||||
173 | } | 173 | } | ||
---|---|---|---|---|---|
174 | newurl.setQuery(query); | 174 | newurl.setQuery(query); | ||
175 | 175 | | |||
176 | if (query.queryItemValue(key) == QLatin1String("QSQLITE")) { | | |||
177 | newurl.setUserInfo(QString()); | | |||
178 | newurl.setHost(QString()); | | |||
179 | } | | |||
180 | // check if a password is needed. it may be if the URL came from the last/recent file list | 176 | // check if a password is needed. it may be if the URL came from the last/recent file list | ||
181 | QPointer<KSelectDatabaseDlg> dialog = new KSelectDatabaseDlg(QIODevice::ReadWrite, newurl); | 177 | dialog = new KSelectDatabaseDlg(QIODevice::ReadWrite, newurl); | ||
182 | if (!dialog->checkDrivers()) { | 178 | if (!dialog->checkDrivers()) { | ||
183 | delete dialog; | 179 | delete dialog; | ||
184 | return; | 180 | return; | ||
Context not available. |