968d16f
Index: qmc2/softwarelist.cpp
968d16f
===================================================================
968d16f
--- qmc2/softwarelist.cpp	(wersja 8299)
968d16f
+++ qmc2/softwarelist.cpp	(wersja 8300)
968d16f
@@ -1115,8 +1115,8 @@
968d16f
 		QStringList xmlLines = qmc2MachineList->xmlDb()->xml(systemName).split("\n", QString::SkipEmptyParts);
968d16f
 		while ( !interruptLoad && i < xmlLines.count() && !xmlLines[i].contains("</machine>") ) {
968d16f
 			QString line = xmlLines[i++];
968d16f
-			if ( line.startsWith("
968d16f
-				int startIndex = line.indexOf("\"") + 1;
968d16f
+			if ( line.startsWith("
968d16f
+				int startIndex = line.indexOf(" name=\"") + 7;
968d16f
 				int endIndex = line.indexOf("\"", startIndex);
968d16f
 				softwareList << line.mid(startIndex, endIndex - startIndex); 
968d16f
 				startIndex = line.indexOf(" filter=\"");