| 133 | return QMessageBox::NoButton; |
| 134 | } |
| 135 | int critical(QWidget* parent, |
| 136 | const QString& title, const QString& text, |
| 137 | int buttons = QMessageBox::Ok, |
| 138 | int defaultButton = QMessageBox::NoButton) override { |
| 139 | Q_UNUSED(parent); |
| 140 | Q_UNUSED(title); |
| 141 | Q_UNUSED(text); |
| 142 | Q_UNUSED(buttons); |
| 143 | Q_UNUSED(defaultButton); |
| 144 | return QMessageBox::NoButton; |
| 145 | } |
| 146 | |
| 147 | // QInputDialog functions |
| 148 | // These return QVariant rather than simple types, so that they can return null |