PDA

View Full Version : QApplication::keyboardModifiers() with touch screen



davidovv
5th November 2014, 20:33
I have a function on_someButton_clicked() and first thing i check in function is
QApplication::keyboardModifiers()
if ctrl is pressed, so i can implement ctrl "click" differently
the strange thing is that when i try with touchscreen like ctrl "touch" ctrl is not detected
why wouldn't function QApplication::keyboardModifiers() return ctrl no mather if touch or click?
is this a bug?