Commit c53e5f39 authored by Marco Mentasti's avatar Marco Mentasti

Don't ask for kwallet when adding sqlite connections

parent a552eb65
......@@ -207,6 +207,10 @@ Wallet *SQLManager::openWallet()
// return 0 on success, -1 on error, -2 on user reject
int SQLManager::storeCredentials(const Connection &conn)
// Sqlite is without password, avoid to open wallet
if (conn.driver.contains("QSQLITE"))
return 0;
Wallet *wallet = openWallet();
if (!wallet) // user reject
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment