equal
deleted
inserted
replaced
107 */ |
107 */ |
108 QObjectList HbDocumentLoader::load( const QString &fileName, const QString §ion , bool *ok ) |
108 QObjectList HbDocumentLoader::load( const QString &fileName, const QString §ion , bool *ok ) |
109 { |
109 { |
110 QFile file( fileName ); |
110 QFile file( fileName ); |
111 |
111 |
112 if( !file.open( QFile::ReadOnly | QFile::Text ) ) { |
112 if( !file.open( QFile::ReadOnly ) ) { |
113 qWarning( "Unable to open file" ); |
113 qWarning( "Unable to open file" ); |
114 if( ok ) { |
114 if( ok ) { |
115 *ok = false; |
115 *ok = false; |
116 } |
116 } |
117 return QList<QObject *>(); |
117 return QList<QObject *>(); |