QColor: remove unused qt_get_rgb_val()

Defined out-of-line, not exported, not used anywhere in QtGui,
so it can be removed.

Change-Id: Ib049bad7d02e5412c063965cd81c8d95e1c1c183
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
bb10
Marc Mutz 2016-08-07 21:13:52 +03:00
parent 1e4ba2b4e5
commit 3d39c66369
2 changed files with 0 additions and 13 deletions

View File

@ -337,14 +337,6 @@ bool qt_get_named_rgb(const QChar *name, int len, QRgb *rgb)
return get_named_rgb(name_no_space, rgb);
}
uint qt_get_rgb_val(const char *name)
{
QRgb r = 0;
qt_get_named_rgb(name,&r);
return r;
}
QStringList qt_get_colornames()
{
int i = 0;
@ -362,10 +354,6 @@ bool qt_get_named_rgb(const char *, QRgb*)
return false;
}
uint qt_get_rgb_val(const char *)
{
return 0;
}
QStringList qt_get_colornames()
{
return QStringList();

View File

@ -57,7 +57,6 @@
QT_BEGIN_NAMESPACE
uint qt_get_rgb_val(const char *name);
bool qt_get_named_rgb(const char *, QRgb*);
bool qt_get_named_rgb(const QChar *, int len, QRgb*);
bool qt_get_hex_rgb(const char *, QRgb *);