Hi Patrick,

Have you tried passing QString() - maybe the underlying routine (incorrectly) checks for isNull rather than isEmpty()?

Regards, Tony


On 20/07/2018 3:05 AM, Patrick Stinson wrote:
Hello!

I have set a file path on my QMainWindow with QWidget::setWindowFilePath() on 
macOS. I need to clear this setting, but it doesn’t work if I pass in “”. Is 
there another way to do this?

Thanks!
-Patrick
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to