Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
ee10a9ca44
commit
6942c23895
@@ -95,8 +95,8 @@ TextBrowser::TextBrowser(QWidget * parent)
|
||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
|
||||
setAcceptDrops( TRUE );
|
||||
viewport()->setAcceptDrops( TRUE );
|
||||
setAcceptDrops( true );
|
||||
viewport()->setAcceptDrops( true );
|
||||
|
||||
connect( d->http, SIGNAL(done(bool)), this, SLOT(done(bool)));
|
||||
connect( d->http, SIGNAL(stateChanged(int)), this, SLOT(onStateChanged(int)));
|
||||
|
||||
Reference in New Issue
Block a user