File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,11 @@ void QgsAbout::init()
142
142
// ignore the line if it starts with a hash....
143
143
if ( sline.left ( 1 ) == " #" ) continue ;
144
144
QStringList myTokens = sline.split ( " |" , QString::SkipEmptyParts );
145
- if ( myTokens.size () > 1 )
145
+ if ( myTokens.size () == 0 )
146
+ {
147
+ continue ;
148
+ }
149
+ else if ( myTokens.size () > 1 )
146
150
{
147
151
website = " <a href=\" " + myTokens[1 ].remove ( ' ' ) + " \" >" + myTokens[1 ] + " </a>" ;
148
152
}
@@ -291,7 +295,7 @@ void QgsAbout::setPluginInfo()
291
295
myString += " </li>\n </ol>\n " ;
292
296
// qt image plugins
293
297
myString += " <b>" + tr ( " Available Qt Image Plugins" ) + " </b><br>" ;
294
- myString += tr ( " Qt Image Plugin Search Paths <br>" );
298
+ myString += tr ( " Qt Image Plugin Search Paths <br>" );
295
299
myString += QApplication::libraryPaths ().join ( " <br>" );
296
300
myString += " <ol>\n <li>\n " ;
297
301
QList<QByteArray> myImageFormats = QImageReader::supportedImageFormats ();
You can’t perform that action at this time.
0 commit comments