Permalink
Browse files

Send haveResult() with an empty QString instead of a an empty C strin…

…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 2eabe31e06a49e4cf0cf40f85a1e77a2d6022efb
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythplugins/mytharchive/mytharchive/fileselector.cpp
@@ -357,7 +357,7 @@ void FileSelector::cancelPressed()
if (m_selectorType == FSTYPE_FILELIST)
emit haveResult(true);
else
- emit haveResult("");
+ emit haveResult(QString());
Close();
}

0 comments on commit 2eabe31

Please sign in to comment.