| 70 | }; |
| 71 | |
| 72 | bool DeleteNotUploadedEditsConfirmation() |
| 73 | { |
| 74 | QMessageBox msb; |
| 75 | msb.setText("Some map edits are not uploaded yet. Are you sure you want to delete map anyway?"); |
| 76 | msb.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel); |
| 77 | msb.setDefaultButton(QMessageBox::Cancel); |
| 78 | return QMessageBox::Yes == msb.exec(); |
| 79 | } |
| 80 | } // namespace |
| 81 | |
| 82 | namespace qt |