Skip to content
Permalink
Browse files

Merge pull request #634 from vinayan/offlineFixWin

Offline Editing Plugin - Windows Fix
  • Loading branch information
vinayan committed Jun 16, 2013
2 parents 449c2a2 + 2c33403 commit e8f7c139fef26dd039a1a640b7feecb5389e3d94
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsofflineediting.cpp
@@ -73,7 +73,7 @@ bool QgsOfflineEditing::convertToOfflineProject( const QString& offlineDataPath,
{
spatialite_init( 0 );
sqlite3* db;
int rc = sqlite3_open( dbPath.toStdString().c_str(), &db );
int rc = sqlite3_open( dbPath.toUtf8().constData(), &db );
if ( rc != SQLITE_OK )
{
showWarning( tr( "Could not open the spatialite database" ) );
@@ -794,7 +794,7 @@ sqlite3* QgsOfflineEditing::openLoggingDb()
QString dbPath = QgsProject::instance()->readEntry( PROJECT_ENTRY_SCOPE_OFFLINE, PROJECT_ENTRY_KEY_OFFLINE_DB_PATH );
if ( !dbPath.isEmpty() )
{
int rc = sqlite3_open( dbPath.toStdString().c_str(), &db );
int rc = sqlite3_open( dbPath.toUtf8().constData(), &db );
if ( rc != SQLITE_OK )
{
showWarning( tr( "Could not open the spatialite logging database" ) );

0 comments on commit e8f7c13

Please sign in to comment.
You can’t perform that action at this time.