Added second button to message box

Change-Id: I59ec1c5000afcdd2c91ed55c32aaae11b95b620a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Robert Loehning
2013-04-05 18:33:10 +02:00
parent b8acad5365
commit 376a90e028

View File

@@ -246,7 +246,7 @@ void MergeTool::readData()
} else if (m_merging && line.startsWith("Continue merging")) {
if (QMessageBox::question(0, tr("Continue Merging"),
tr("Continue merging other unresolved paths?"),
QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) {
QMessageBox::Yes|QMessageBox::No, QMessageBox::No) == QMessageBox::Yes) {
m_process->write("y\n");
} else {
m_process->write("n\n");