forked from qt-creator/qt-creator
Replace remaining Q_WS_WIN by Q_OS_WIN.
Task-number: QTCREATORBUG-72 Change-Id: I36f532ebd61472cd6e3d8e63decc96613cc7fab4 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
0869a13938
commit
7e33227146
@@ -67,7 +67,7 @@ ToolTip *ToolTip::instance()
|
||||
void ToolTip::show(const QPoint &pos, const TipContent &content, QWidget *w, const QRect &rect)
|
||||
{
|
||||
if (acceptShow(content, pos, w, rect)) {
|
||||
#ifndef Q_WS_WIN
|
||||
#ifndef Q_OS_WIN
|
||||
m_tip = m_tipFactory->createTip(content, w);
|
||||
#else
|
||||
m_tip = m_tipFactory->createTip(
|
||||
@@ -205,7 +205,7 @@ void ToolTip::placeTip(const QPoint &pos, QWidget *w)
|
||||
QRect screen = Internal::screenGeometry(pos, w);
|
||||
QPoint p = pos;
|
||||
p += QPoint(2,
|
||||
#ifdef Q_WS_WIN
|
||||
#ifdef Q_OS_WIN
|
||||
21
|
||||
#else
|
||||
16
|
||||
|
||||
Reference in New Issue
Block a user