Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Skip empty lines in pkgng output

  • Loading branch information...
commit 7d94108ac9403926a86962b209c378f36b598a0a 1 parent 1bfa1e0
@kmoore134 kmoore134 authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src-qt4/pc-pkgmanager/mainWin.cpp
View
4 src-qt4/pc-pkgmanager/mainWin.cpp
@@ -371,6 +371,10 @@ void mainWin::slotReadPkgOutput() {
line = uProc->readLine().simplified();
qDebug() << line;
+ // Empty line? We can skip it
+ if ( line.isEmpty() )
+ continue;
+
tmp = line;
tmp.truncate(50);
Please sign in to comment.
Something went wrong with that request. Please try again.