diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/dialogs/qmessagebox.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp index e08b321289..833320da16 100644 --- a/src/widgets/dialogs/qmessagebox.cpp +++ b/src/widgets/dialogs/qmessagebox.cpp @@ -1412,7 +1412,10 @@ void QMessageBox::keyPressEvent(QKeyEvent *e) buttonTexts += buttons[i]->text() + QLatin1String(" "); } textToCopy += buttonTexts + separator; - +#ifndef QT_NO_TEXTEDIT + if (d->detailsText) + textToCopy += d->detailsText->text() + separator; +#endif QApplication::clipboard()->setText(textToCopy); return; } |