diff options
author | saturneric <[email protected]> | 2024-07-26 16:33:09 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-26 16:33:09 +0000 |
commit | 3d84beaf22caaf299a3004032402bd94ee4ab886 (patch) | |
tree | a8acaf7c1781641f8254ff9fe3dc3d3d07499868 /src/ui/widgets/KeyTable.cpp | |
parent | feat: remove spdlog and clean up log (diff) | |
download | GpgFrontend-3d84beaf22caaf299a3004032402bd94ee4ab886.tar.gz GpgFrontend-3d84beaf22caaf299a3004032402bd94ee4ab886.zip |
fix: clean up warnings
Diffstat (limited to 'src/ui/widgets/KeyTable.cpp')
-rw-r--r-- | src/ui/widgets/KeyTable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/KeyTable.cpp b/src/ui/widgets/KeyTable.cpp index 76c3bc3c..0254840e 100644 --- a/src/ui/widgets/KeyTable.cpp +++ b/src/ui/widgets/KeyTable.cpp @@ -34,7 +34,7 @@ namespace GpgFrontend::UI { auto KeyTable::GetChecked() const -> KeyIdArgsListPtr { auto ret = std::make_unique<KeyIdArgsList>(); - for (size_t i = 0; i < GetRowCount(); i++) { + for (decltype(GetRowCount()) i = 0; i < GetRowCount(); i++) { if (IsRowChecked(i)) ret->push_back(GetKeyIdByRow(i)); } return ret; |