Commit eed88a1c authored by Jarosław Staniek's avatar Jarosław Staniek

Fix infinite recursion in msghandler.cpp

The Calligra 2.7.90 build log using msvc2010 gives this warning
concerning msghandler.cpp: 'KexiDB::MessageHandler::askQuestion' :
recursive on all control paths, function will cause runtime stack overflow

Thanks, Stephen Leibowitz
CCMAIL:LibreStephen@gmail.com
REVIEW:121180
FIXED-IN:2.8.7
parent 79fb66dd
......@@ -78,7 +78,7 @@ int MessageHandler::askQuestion(const QString& message,
buttonNo, dontShowAskAgainName, options);
}
else {
return askQuestion(message, dlgType, defaultResult, buttonYes,
return askQuestionInternal(message, dlgType, defaultResult, buttonYes,
buttonNo, dontShowAskAgainName, options);
}
}
......
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