QClipboard: Downgrade a warning to a debug message
Clients don't (or shouldn't) care if a selection clipboard is supported for instance. They should just try to use it. There's nothing they can usefully do if the platform doesn't offer a selection clipboard (like Mac). Change-Id: I0adb79766807806a4754353b48e33ed8acf9100a Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
50faf34442
commit
1c87d4e1a1
@ -476,7 +476,7 @@ void QClipboard::setMimeData(QMimeData* src, Mode mode)
|
||||
QPlatformClipboard *clipboard = QGuiApplicationPrivate::platformIntegration()->clipboard();
|
||||
if (!clipboard->supportsMode(mode)) {
|
||||
if (src != 0) {
|
||||
qWarning("Data set on unsupported clipboard mode. QMimeData object will be deleted.");
|
||||
qDebug("Data set on unsupported clipboard mode. QMimeData object will be deleted.");
|
||||
src->deleteLater();
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user