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

Tony Rietwyk tony at rightsoft.com.au
Fri Jul 20 01:54:32 CEST 2018


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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list