summaryrefslogtreecommitdiff
path: root/src/gui/painting/qbrush.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-04-02 11:51:14 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-04-06 11:00:38 +0000
commit1ef274fb947f86731d062df2128718cc8a0cf643 (patch)
tree51658c038b9de841c478c52bc423cc59b7d8897a /src/gui/painting/qbrush.cpp
parent980755bbcfae1b5da4b5dbdd039b28d05bfdf938 (diff)
downloadqtbase-1ef274fb947f86731d062df2128718cc8a0cf643.tar.gz
Replace qMove with std::move
Change-Id: I67df3ae6b5db0a158f86e75b99f422bd13853bc9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/gui/painting/qbrush.cpp')
-rw-r--r--src/gui/painting/qbrush.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp
index ed575abf54..1aa0ee14be 100644
--- a/src/gui/painting/qbrush.cpp
+++ b/src/gui/painting/qbrush.cpp
@@ -1140,11 +1140,11 @@ QDataStream &operator>>(QDataStream &s, QBrush &b)
if (s.version() >= QDataStream::Qt_5_5) {
QImage img;
s >> img;
- b.setTextureImage(qMove(img));
+ b.setTextureImage(std::move(img));
} else {
QPixmap pm;
s >> pm;
- b.setTexture(qMove(pm));
+ b.setTexture(std::move(pm));
}
} else if (style == Qt::LinearGradientPattern
|| style == Qt::RadialGradientPattern