Somehow != doesn't work as I think it should
-
i found out you can not do not eqal !=...... it does not work!
repare IT
[Edit: Thread title changed -- @Wieland]
@07Pepa Works for me... here's an example from one of my apps:
if (button == "Enter" && pin != '') { pwField.accepted(pin) pwFieldText.text = "" pin = '' return }
What exactly is not working for you? Show us the code, maybe you are using it wrong or what you are expecting is incorrect based on your variable state.
-
i found out you can not do not eqal !=...... it does not work!
repare IT
[Edit: Thread title changed -- @Wieland]
-
I've had support log a call for something that maybe this:
https://bugreports.qt.io/browse/QTBUG-59204 - is this symptoms you mean?It's possible to have the line indicator confused - but the actual execution is still ok.
I found removing all spaces in these circumstances seemed to make things happy.It's just my guess... This is literally the worst request for help I've could imagine - a "doesn't work - fix it" call, totally horrid.
Maybe provide some code, contex, steps to reproduce ... and if you go to that much effort you mose well have searched for and logged a bug report (if you do actually have something) that way it's better for you and everyone else too.