fixed ifdef
This commit is contained in:
parent
3cbb0ff598
commit
3d4cdec0c6
|
@ -72,7 +72,7 @@ NotifyWidget::NotifyWidget(int pos,QWidget *parent) :
|
||||||
m_moveTimer->setInterval(2);
|
m_moveTimer->setInterval(2);
|
||||||
connect( m_moveTimer, SIGNAL(timeout()), this, SLOT(slotMove()));
|
connect( m_moveTimer, SIGNAL(timeout()), this, SLOT(slotMove()));
|
||||||
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0) || !Q_OS_WIN32//ugly bug in qt4 makes the widget resize
|
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0) || !defined(Q_OS_WIN32)//ugly bug in qt4 makes the widget resize
|
||||||
ui->titel->setWordWrap(true);
|
ui->titel->setWordWrap(true);
|
||||||
ui->body->setWordWrap(true);
|
ui->body->setWordWrap(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue