Skip to content

Commit

Permalink
Add warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Feb 18, 2025
1 parent 46f375f commit 84a774e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/geomaps/VACLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ QVector<GeoMaps::VAC> GeoMaps::VACLibrary::vacs4Point(const QGeoCoordinate& posi
{
continue;
}
#warning WRONG. Rectangle need not be coordinate-aligned
const QGeoRectangle rc(vac.topLeft, vac.bottomRight);
if (rc.contains(position))
{
Expand Down
1 change: 1 addition & 0 deletions src/geomaps/VACLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ class VACLibrary : public QObject
*
* @returns List of all VACs installed
*/
#warning docu
[[nodiscard]] Q_INVOKABLE QVector<GeoMaps::VAC> vacs4Point(const QGeoCoordinate& position);

signals:
Expand Down

0 comments on commit 84a774e

Please sign in to comment.