From 09980d9782a33746baf0aa85cad1d352eff67346 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Fri, 31 Jul 2026 21:02:23 -0400 Subject: [PATCH] APRSGUI: Fix displayTableSettings argument order cppcheck reported that the displayTableSettings() declaration argument order differed from the function definition. The header declared the arguments as (columnIndexes, columnSizes), while the implementation and all call sites use (columnSizes, columnIndexes). Update the declaration to match the implementation and remove ambiguity between the table column width and ordering arrays. Signed-off-by: Robin Getz --- plugins/feature/aprs/aprsgui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/feature/aprs/aprsgui.h b/plugins/feature/aprs/aprsgui.h index 0ad0ee881..e4a875079 100644 --- a/plugins/feature/aprs/aprsgui.h +++ b/plugins/feature/aprs/aprsgui.h @@ -166,7 +166,7 @@ private: void removeFromMap(const QString& name); void blockApplySettings(bool block); void applySettings(bool force = false); - void displayTableSettings(QTableWidget *table, QMenu *menu, int *columnIndexes, int *columnSizes, int columns); + void displayTableSettings(QTableWidget *table, QMenu *menu, int *columnSizes, int *columnIndexes, int columns); bool filterStation(APRSStation *station); void filterStations(); void displaySettings();