QWindowPrivate: fix inconsistent inline on some methods
Two functions' implementations were marked as inline, when their definitons weren't. This is non-sensical, bordering on dangerous, so remove the inline keyword. Pick-to: 6.3 6.2 5.15 Change-Id: Iece21f9552aede273fa1f5a7aef0c94307fa5142 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
72ba7cb186
commit
c064b6bbfd
@ -470,7 +470,7 @@ void QWindowPrivate::updateSiblingPosition(SiblingPosition position)
|
||||
siblings.move(currentPosition, targetPosition);
|
||||
}
|
||||
|
||||
inline bool QWindowPrivate::windowRecreationRequired(QScreen *newScreen) const
|
||||
bool QWindowPrivate::windowRecreationRequired(QScreen *newScreen) const
|
||||
{
|
||||
Q_Q(const QWindow);
|
||||
const QScreen *oldScreen = q->screen();
|
||||
@ -478,7 +478,7 @@ inline bool QWindowPrivate::windowRecreationRequired(QScreen *newScreen) const
|
||||
&& !(oldScreen && oldScreen->virtualSiblings().contains(newScreen));
|
||||
}
|
||||
|
||||
inline void QWindowPrivate::disconnectFromScreen()
|
||||
void QWindowPrivate::disconnectFromScreen()
|
||||
{
|
||||
if (topLevelScreen)
|
||||
topLevelScreen = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user