xcb: Remove unused NoFontHinting hint
It is unused since 0f7bc885aa
(Turn off font hinting when active highdpi scaling).
Change-Id: I901407bedf24ae301acbe6afa94bc0a4cadb0620
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
8cedf59a68
commit
fc098de70a
@ -85,7 +85,6 @@ static int resourceType(const QByteArray &key)
|
||||
QByteArrayLiteral("gettimestamp"), QByteArrayLiteral("x11screen"),
|
||||
QByteArrayLiteral("rootwindow"),
|
||||
QByteArrayLiteral("subpixeltype"), QByteArrayLiteral("antialiasingenabled"),
|
||||
QByteArrayLiteral("nofonthinting"),
|
||||
QByteArrayLiteral("atspibus"),
|
||||
QByteArrayLiteral("compositingenabled")
|
||||
};
|
||||
@ -242,9 +241,6 @@ void *QXcbNativeInterface::nativeResourceForScreen(const QByteArray &resourceStr
|
||||
case GetTimestamp:
|
||||
result = getTimestamp(xcbScreen);
|
||||
break;
|
||||
case NoFontHinting:
|
||||
result = xcbScreen->noFontHinting() ? this : 0; //qboolptr...
|
||||
break;
|
||||
case RootWindow:
|
||||
result = reinterpret_cast<void *>(xcbScreen->root());
|
||||
break;
|
||||
|
@ -73,7 +73,6 @@ public:
|
||||
RootWindow,
|
||||
ScreenSubpixelType,
|
||||
ScreenAntialiasingEnabled,
|
||||
NoFontHinting,
|
||||
AtspiBus,
|
||||
CompositingEnabled
|
||||
};
|
||||
|
@ -188,7 +188,6 @@ QXcbScreen::QXcbScreen(QXcbConnection *connection, QXcbVirtualDesktop *virtualDe
|
||||
, m_forcedDpi(-1)
|
||||
, m_pixelDensity(1)
|
||||
, m_hintStyle(QFontEngine::HintStyle(-1))
|
||||
, m_noFontHinting(false)
|
||||
, m_subpixelType(QFontEngine::SubpixelAntialiasingType(-1))
|
||||
, m_antialiasingEnabled(-1)
|
||||
{
|
||||
|
@ -172,7 +172,6 @@ public:
|
||||
void readXResources();
|
||||
|
||||
QFontEngine::HintStyle hintStyle() const { return m_hintStyle; }
|
||||
bool noFontHinting() const { return m_noFontHinting; }
|
||||
QFontEngine::SubpixelAntialiasingType subpixelType() const { return m_subpixelType; }
|
||||
int antialiasingEnabled() const { return m_antialiasingEnabled; }
|
||||
|
||||
@ -208,7 +207,6 @@ private:
|
||||
int m_forcedDpi;
|
||||
int m_pixelDensity;
|
||||
QFontEngine::HintStyle m_hintStyle;
|
||||
bool m_noFontHinting;
|
||||
QFontEngine::SubpixelAntialiasingType m_subpixelType;
|
||||
int m_antialiasingEnabled;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user