qwindowstheme: Remove unused function
Causes warnings(-as-errors). Change-Id: I77a40d9427cba277012a8343d6badd2c932798af Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 70d2437e6f9c488483e478f3c67f40db7cc4f2b3)
This commit is contained in:
parent
141dbd4053
commit
c914e02ff3
@ -62,7 +62,6 @@
|
||||
#include <QtCore/qvariant.h>
|
||||
#include <QtCore/qcoreapplication.h>
|
||||
#include <QtCore/qdebug.h>
|
||||
#include <QtCore/qtextstream.h>
|
||||
#include <QtCore/qoperatingsystemversion.h>
|
||||
#include <QtCore/qsysinfo.h>
|
||||
#include <QtCore/qcache.h>
|
||||
@ -94,17 +93,6 @@ static inline QColor COLORREFToQColor(COLORREF cr)
|
||||
return QColor(GetRValue(cr), GetGValue(cr), GetBValue(cr));
|
||||
}
|
||||
|
||||
static inline QTextStream& operator<<(QTextStream &str, const QColor &c)
|
||||
{
|
||||
str.setIntegerBase(16);
|
||||
str.setFieldWidth(2);
|
||||
str.setPadChar(u'0');
|
||||
str << " rgb: #" << c.red() << c.green() << c.blue();
|
||||
str.setIntegerBase(10);
|
||||
str.setFieldWidth(0);
|
||||
return str;
|
||||
}
|
||||
|
||||
static inline bool booleanSystemParametersInfo(UINT what, bool defaultValue)
|
||||
{
|
||||
BOOL result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user