summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Inspector/MaterialRefView.h
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2019-03-15 11:25:57 +0200
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2019-03-15 11:05:47 +0000
commita08bb2007ba3965a875801955b9fa122c19e8255 (patch)
treeb2428399e80801db39d74a76d76de5f28dfe4979 /src/Authoring/Studio/Palettes/Inspector/MaterialRefView.h
parentcb5beeb75b9a169e140277fdb66aa9c578ff0f69 (diff)
Show warning instead of empty popup when there are no valid refmats
Task-number: QT3DS-3141 Change-Id: I4f3c87af213199bd4b743b79b36b79e2d5c4d09f Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Palettes/Inspector/MaterialRefView.h')
-rw-r--r--src/Authoring/Studio/Palettes/Inspector/MaterialRefView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Palettes/Inspector/MaterialRefView.h b/src/Authoring/Studio/Palettes/Inspector/MaterialRefView.h
index 157b9a6b..d4131cda 100644
--- a/src/Authoring/Studio/Palettes/Inspector/MaterialRefView.h
+++ b/src/Authoring/Studio/Palettes/Inspector/MaterialRefView.h
@@ -40,7 +40,7 @@ class MaterialRefView : public QListWidget
public:
explicit MaterialRefView(QWidget *parent = nullptr);
- int refreshMaterials(int instance, int handle);
+ QSize refreshMaterials(int instance, int handle);
void updateSelection();
protected: