Diff of /src/lib/simulator/src/languages/externallanguage.cpp [9e3b00] .. [812dd5]  Maximize  Restore

Switch to side-by-side view

--- a/src/lib/simulator/src/languages/externallanguage.cpp
+++ b/src/lib/simulator/src/languages/externallanguage.cpp
@@ -47,7 +47,8 @@
 
 void ExternalLanguage::receivedStdout( QProcess *, char * buffer, int buflen )
 {
-	QStringList lines = QStringList::split( '\n', QString::fromLocal8Bit( buffer, buflen ), false );
+    QStringList lines = QString::fromLocal8Bit( buffer, buflen )
+        .split( '\n', QString::SkipEmptyParts, Qt::CaseInsensitive );
 	QStringList::iterator end = lines.end();
 	
 	for ( QStringList::iterator it = lines.begin(); it != end; ++it )
@@ -73,7 +74,8 @@
 
 void ExternalLanguage::receivedStderr( QProcess *, char * buffer, int buflen )
 {
-	QStringList lines = QStringList::split( '\n', QString::fromLocal8Bit( buffer, buflen ), false );
+    QStringList lines = QString::fromLocal8Bit( buffer, buflen )
+        .split( '\n', QString::SkipEmptyParts, Qt::CaseInsensitive );
 	QStringList::iterator end = lines.end();
 	
 	for ( QStringList::iterator it = lines.begin(); it != end; ++it )

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks