Use a struct instead of QPair
Better readability and QPair is gone in Qt6 (replaced by a typedef to std::pair). See commits for details.
Edited by Ahmad Samir
Better readability and QPair is gone in Qt6 (replaced by a typedef to std::pair). See commits for details.