[Interest] Clearing QMainWindow::setFilePath() on macOS

2018-07-19 Thread Patrick Stinson
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


Re: [Interest] Clearing QMainWindow::setFilePath() on macOS

2018-07-19 Thread Tony Rietwyk

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