mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 07:09:54 +02:00
Fix failing QMetaObject::invokeMethod call
This commit is contained in:
parent
e290fa2e7f
commit
7ececd793a
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ void ImageReader::run() {
|
||||||
averageColor.setRgb(redTotal / imageArea, greenTotal / imageArea, blueTotal / imageArea);
|
averageColor.setRgb(redTotal / imageArea, greenTotal / imageArea, blueTotal / imageArea);
|
||||||
}
|
}
|
||||||
QMetaObject::invokeMethod(texture.data(), "setImage", Q_ARG(const QImage&, image), Q_ARG(bool, false),
|
QMetaObject::invokeMethod(texture.data(), "setImage", Q_ARG(const QImage&, image), Q_ARG(bool, false),
|
||||||
Q_ARG(const QColor&, averageColor));
|
Q_ARG(const QColor&, averageColor), Q_ARG(int, originalWidth), Q_ARG(int, originalHeight));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (image.format() != QImage::Format_ARGB32) {
|
if (image.format() != QImage::Format_ARGB32) {
|
||||||
|
|
Loading…
Reference in a new issue