From c68ccbc6b69d07370387056974fd05e595103142 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Wed, 13 Feb 2019 18:37:01 +0000 Subject: [PATCH] Use new common_factor header in the launcher, too --- apps/launcher/graphicspage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/launcher/graphicspage.cpp b/apps/launcher/graphicspage.cpp index 072f1f36f2..7424555132 100644 --- a/apps/launcher/graphicspage.cpp +++ b/apps/launcher/graphicspage.cpp @@ -1,6 +1,6 @@ #include "graphicspage.hpp" -#include +#include #include #include #include @@ -18,7 +18,7 @@ QString getAspect(int x, int y) { - int gcd = boost::math::gcd (x, y); + int gcd = boost::integer::gcd (x, y); int xaspect = x / gcd; int yaspect = y / gcd; // special case: 8 : 5 is usually referred to as 16:10