Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.cpp
Show First 20 Lines • Show All 1,046 Lines • ▼ Show 20 Lines | if (style & CClientUIInterface::MODAL) { | ||||
QMessageBox::StandardButton buttons; | QMessageBox::StandardButton buttons; | ||||
if (!(buttons = (QMessageBox::StandardButton)( | if (!(buttons = (QMessageBox::StandardButton)( | ||||
style & CClientUIInterface::BTN_MASK))) | style & CClientUIInterface::BTN_MASK))) | ||||
buttons = QMessageBox::Ok; | buttons = QMessageBox::Ok; | ||||
showNormalIfMinimized(); | showNormalIfMinimized(); | ||||
QMessageBox mBox(static_cast<QMessageBox::Icon>(nMBoxIcon), strTitle, | QMessageBox mBox(static_cast<QMessageBox::Icon>(nMBoxIcon), strTitle, | ||||
message, buttons, this); | message, buttons, this); | ||||
mBox.setTextFormat(Qt::PlainText); | |||||
int r = mBox.exec(); | int r = mBox.exec(); | ||||
if (ret != nullptr) { | if (ret != nullptr) { | ||||
*ret = r == QMessageBox::Ok; | *ret = r == QMessageBox::Ok; | ||||
} | } | ||||
} else | } else | ||||
notificator->notify(static_cast<Notificator::Class>(nNotifyIcon), | notificator->notify(static_cast<Notificator::Class>(nNotifyIcon), | ||||
strTitle, message); | strTitle, message); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 370 Lines • Show Last 20 Lines |