Commit 477fbfdd authored by Fabian Kosmale's avatar Fabian Kosmale
Browse files

compare against QString("") instead of char() to fix a clang warning

parent 7a677eda
......@@ -116,7 +116,7 @@ void QueueOperation::transactionCreated(AkabeiClient::Transaction* t)
if (!t->questions().isEmpty()) {
foreach (AkabeiClient::TransactionQuestion *q, t->questions()) {
if (m_options.contains(APM::NoConfirm)) {
if (q->suggestedAnswer().letter != char()) {
if (q->suggestedAnswer().letter != QString("")) {
q->setAnswer(q->suggestedAnswer().letter);
} else {
q->setAnswer(q->possibleAnswers().first().letter);
......
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