From e26f90131574e6730d6c41c3b1ad0b6b43f0b35c Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 7 Aug 2014 00:08:55 +1000 Subject: [PATCH] Channel search fix in loadChannels --- sleepyhead/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleepyhead/mainwindow.cpp b/sleepyhead/mainwindow.cpp index c743ebb5..4b0ceb26 100644 --- a/sleepyhead/mainwindow.cpp +++ b/sleepyhead/mainwindow.cpp @@ -442,7 +442,7 @@ void loadChannels() in >> lowerThresholdColor; in >> upperThreshold; in >> upperThresholdColor; - if (!chan) { + if (chan->isNull()) { qDebug() << "loadChannels has idea about channel" << name; if (in.atEnd()) return; continue;