diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,7 +139,7 @@ cmake_dependent_option(ENABLE_SQLSTORAGE "Enable SQL storage support." ON "Qt5Sql_FOUND" OFF) -add_feature_info("SQL Storage" ENABLE_SQLSTORAGE "It allows storing your financial data in SQL database (note: no encryption yet supported, no iban yet supported).") +add_feature_info("SQL Storage" ENABLE_SQLSTORAGE "It allows storing your financial data in SQL database (note: no encryption yet supported).") # check for optional QWebEngine option(ENABLE_WEBENGINE "Enable QWebEngine" OFF) diff --git a/kmymoney/plugins/sql/mymoneystoragesql_p.h b/kmymoney/plugins/sql/mymoneystoragesql_p.h --- a/kmymoney/plugins/sql/mymoneystoragesql_p.h +++ b/kmymoney/plugins/sql/mymoneystoragesql_p.h @@ -50,8 +50,7 @@ // KDE Includes #include -// TODO: port KF5 (needed for payeeidentifier plugin) -//#include +#include // ---------------------------------------------------------------------------- // Project Includes @@ -2643,8 +2642,6 @@ bool setupStoragePlugin(QString iid) { Q_UNUSED(iid) - return false; - #if 0 Q_Q(MyMoneyStorageSql); // setupDatabase has to be called every time because this simple technique to check if was updated already // does not work if a user opens another file @@ -2653,8 +2650,6 @@ return false; QString errorMsg; - // TODO: port KF5 (needed for payeeidentifier plugin) - KMyMoneyPlugin::storagePlugin* plugin = KServiceTypeTrader::createInstanceFromQuery( QLatin1String("KMyMoney/sqlStoragePlugin"), QString("'%1' ~in [X-KMyMoney-PluginIid]").arg(iid.replace(QLatin1Char('\''), QLatin1String("\\'"))), @@ -2673,7 +2668,6 @@ } throw MYMONEYEXCEPTION(QString("Could not install sqlStoragePlugin '%1' in database.").arg(iid)); -#endif } void insertStorableObject(const databaseStoreableObject& obj, const QString& id)