From bcae744b1bae2f5015cb3efdd0d2226150cd79e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20=C5=81ukasik?= Date: Fri, 3 Feb 2017 08:16:09 +0100 Subject: New upstream version 17.2.0~ds0 --- src/colorutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/colorutils.cpp') diff --git a/src/colorutils.cpp b/src/colorutils.cpp index a417556..f6cc9f8 100644 --- a/src/colorutils.cpp +++ b/src/colorutils.cpp @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2016 Ricardo Villalba + Copyright (C) 2006-2017 Ricardo Villalba This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -74,7 +74,7 @@ QString ColorUtils::colorToAARRGGBB(QColor c) { QColor ColorUtils::AARRGGBBToColor(const QString & s) { QRegExp rx("([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})"); if (rx.indexIn(s) > -1 && rx.captureCount() == 4) { - qDebug() << "ColorUtils::AARRGGBBToColor:" << rx.cap(1) << rx.cap(2) << rx.cap(3) << rx.cap(4); + //qDebug() << "ColorUtils::AARRGGBBToColor:" << rx.cap(1) << rx.cap(2) << rx.cap(3) << rx.cap(4); uint alpha = rx.cap(1).toUInt(0, 16); uint red = rx.cap(2).toUInt(0, 16); uint green = rx.cap(3).toUInt(0, 16); -- cgit v1.2.3