Skip to content

Commit

Permalink
Send haveResult() with an empty QString instead of a an empty C strin…
Browse files Browse the repository at this point in the history
…g. Avoids ambiguity with the version of this signal which takes a boolean arg. Coverity defect 703725
  • Loading branch information
stuartm committed Jun 4, 2012
1 parent 7493e12 commit 2eabe31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mytharchive/mytharchive/fileselector.cpp
Expand Up @@ -357,7 +357,7 @@ void FileSelector::cancelPressed()
if (m_selectorType == FSTYPE_FILELIST)
emit haveResult(true);
else
emit haveResult("");
emit haveResult(QString());
Close();
}

Expand Down

0 comments on commit 2eabe31

Please sign in to comment.