Fixed QT mingw cross compile with QT4.8
This commit is contained in:
@@ -136,8 +136,20 @@ signals:
|
|||||||
private slots:
|
private slots:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int lastPosx(){ return m_lastPos.x()*devicePixelRatio();}
|
int lastPosx(){
|
||||||
int lastPosy(){ return m_lastPos.y()*devicePixelRatio();}
|
#if QT_VERSION >= 0x050000
|
||||||
|
return m_lastPos.x()*devicePixelRatio();
|
||||||
|
#else
|
||||||
|
return m_lastPos.x();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
int lastPosy(){
|
||||||
|
#if QT_VERSION >= 0x050000
|
||||||
|
return m_lastPos.y()*devicePixelRatio();
|
||||||
|
#else
|
||||||
|
return m_lastPos.y();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
void timerEvent( QTimerEvent* );
|
void timerEvent( QTimerEvent* );
|
||||||
void doAndEnqueue(JButton action) {
|
void doAndEnqueue(JButton action) {
|
||||||
m_engine->HoldKey_NoRepeat(action);
|
m_engine->HoldKey_NoRepeat(action);
|
||||||
|
|||||||
Reference in New Issue
Block a user