Improved transaction handling.
This commit is contained in:
+2
-1
@@ -19,7 +19,7 @@ QList<IPlugin *> Context::plugins()
|
||||
|
||||
void Context::loadPlugins()
|
||||
{
|
||||
QDir pluginsDir(qApp->applicationDirPath() + "/../plugins");
|
||||
QDir pluginsDir(qApp->applicationDirPath() + "/../../plugins");
|
||||
|
||||
foreach (QString fileName, pluginsDir.entryList(QStringList() << "*.so" << "*.dll")) {
|
||||
QPluginLoader pluginLoader(pluginsDir.absoluteFilePath(fileName));
|
||||
@@ -47,4 +47,5 @@ void Context::openDb(const QString &path)
|
||||
Context::Context()
|
||||
{
|
||||
m_db = NULL;
|
||||
m_inTransaction = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user