summaryrefslogtreecommitdiff
path: root/src/colorutils.cpp
diff options
context:
space:
mode:
authorMateusz Łukasik <mati75@linuxmint.pl>2017-02-03 08:16:09 +0100
committerMateusz Łukasik <mati75@linuxmint.pl>2017-02-03 08:16:09 +0100
commitbcae744b1bae2f5015cb3efdd0d2226150cd79e5 (patch)
tree872701745b36fbfbeb16dd1d59d485bc1e494dbd /src/colorutils.cpp
parent634cd2063f449c5d38046de88a395af77e2c9ea5 (diff)
New upstream version 17.2.0~ds0
Diffstat (limited to 'src/colorutils.cpp')
-rw-r--r--src/colorutils.cpp4
1 files changed, 2 insertions, 2 deletions
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 <rvm@users.sourceforge.net>
+ Copyright (C) 2006-2017 Ricardo Villalba <rvm@users.sourceforge.net>
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);