Browse Source

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 <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 4 months ago
parent
commit
09980d9782
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 2
      plugins/feature/aprs/aprsgui.h

2
plugins/feature/aprs/aprsgui.h

@ -166,7 +166,7 @@ private: @@ -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();

Loading…
Cancel
Save