forked from qt-creator/qt-creator
MaterialEditor: Fix warnings for unused parameter
Change-Id: I39b153692860397bf1d8aec25271d02604dedc70 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -432,6 +432,7 @@ void MaterialEditorView::handleToolBarAction(int action)
|
||||
|
||||
void MaterialEditorView::handlePreviewEnvChanged(const QString &envAndValue)
|
||||
{
|
||||
Q_UNUSED(envAndValue);
|
||||
// if (envAndValue.isEmpty() || m_initializingPreviewData)
|
||||
// return;
|
||||
|
||||
@@ -493,6 +494,7 @@ void MaterialEditorView::handlePreviewEnvChanged(const QString &envAndValue)
|
||||
|
||||
void MaterialEditorView::handlePreviewModelChanged(const QString &modelStr)
|
||||
{
|
||||
Q_UNUSED(modelStr);
|
||||
// if (modelStr.isEmpty() || m_initializingPreviewData)
|
||||
// return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user