From 0be7d13b9a5d2630f1929caf6824ae64f38159de Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 22 Feb 2018 14:28:59 +0000 Subject: [PATCH] Protect against trying to parse a blank line in selectHound(). git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8522 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 52474771e..992a6ca71 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -7369,6 +7369,7 @@ void MainWindow::selectHound(QString line) * is equivalent to double-clicking on the top-most line. */ + if(line.length()==0) return; QString houndCall=line.split(" ",QString::SkipEmptyParts).at(0); // Don't add a call already enqueued or in QSO