diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-02-05 11:36:31 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-02-05 11:09:42 +0000 |
commit | 26830d435d942ce580dfe17209563c47eb3da722 (patch) | |
tree | 5935c338a22b05a9a8522789206ffd0db794c419 /src/plugins/gstreamer/camerabin/camerabinservice.cpp | |
parent | 1b7b651364e3888794cfd071ce6cb92beb2242f7 (diff) | |
download | qtmultimedia-26830d435d942ce580dfe17209563c47eb3da722.tar.gz |
Fix deprecation warningsv5.13.0-alpha1
Replace trUtf8() by tr() and implement QAbstractItemModel::roleNames(),
fixing:
multimedia.cpp:76:5: note: in expansion of macro ‘Q_OBJECT’
multimedia.cpp:143:77: warning: ‘static QString QMultimediaDeclarativeModule::trUtf8(const char*, const char*, int)’ is deprecated [-Wdeprecated-declarations]
from multimedia.cpp:40:
....
qdeclarativecamerafocus.cpp:403:23: warning: ‘void QAbstractItemModel::setRoleNames(const QHash<int, QByteArray>&)’ is deprecated [-Wdeprecated-declarations]
setRoleNames(roles);
Change-Id: I2648551a1b2774c45101ab1cad9e0ea3ab79ccbc
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinservice.cpp')
0 files changed, 0 insertions, 0 deletions