Skip to content
Permalink
Browse files
fix #1441
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 3d97dc44e331c1449e463a22d5048455b03bdd1b
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsmaplayer.cpp
@@ -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 )
{

0 comments on commit 3d97dc4

Please sign in to comment.