Skip to content

Commit

Permalink
fix #1441
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9728 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 2, 2008
1 parent eb8270e commit 3d97dc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgsmaplayer.cpp
Expand Up @@ -452,6 +452,9 @@ bool QgsMapLayer::loadNamedStyleFromDb( const QString db, const QString theURI,

QgsDebugMsg( QString( "Trying to load style for \"%1\" from \"%2\"" ).arg( theURI ).arg( db ) );

if( !QFile( db ).exists() )
return false;

myResult = sqlite3_open( db.toUtf8().data(), &myDatabase );
if ( myResult != SQLITE_OK )
{
Expand Down

0 comments on commit 3d97dc4

Please sign in to comment.