Commit b46df1b8 authored by Alexander Stippich's avatar Alexander Stippich
Browse files

additional guard against nullptr

parent 08ea3fbc
......@@ -285,7 +285,7 @@ QMap <QString, QString> KSaneCore::getOptionsMap()
int KSaneCore::setOptionsMap(const QMap <QString, QString> &opts)
if (d->m_scanThread->isRunning()) {
if (!d->m_saneHandle || d->m_scanThread->isRunning()) {
return -1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment