Esri / arcgis-maps-sdk-toolkit-qt

ArcGIS Maps SDK for Qt Toolkit
Apache License 2.0
132 stars 61 forks source link

Fix misleading indentation #567

Closed tanneryould closed 2 years ago

tanneryould commented 2 years ago

I get a compiler warning for this every time and I'd like to fix this.

~Applications/arcgis-runtime-samples-qt/arcgis-runtime-toolkit-qt/uitools/cpp/Esri/ArcGISRuntime/Toolkit/Internal/GenericTableProxyModel.cpp:295: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
../../arcgis-runtime-toolkit-qt/uitools/cpp/Esri/ArcGISRuntime/Toolkit/Internal/GenericTableProxyModel.cpp:295:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  const auto roles = m_sourceModel ? m_sourceModel->roleNames() : QHash<int, QByteArray>();
  ^
../../arcgis-runtime-toolkit-qt/uitools/cpp/Esri/ArcGISRuntime/Toolkit/Internal/GenericTableProxyModel.cpp:292:1: note: previous statement is here
if (Qt::Orientation::Vertical == orientation)
^