FrozenHeart February 2016
Why should I have to specify a parent for the QFileDialog
Why should I have to specify a parent for the
const QString& file_name = QFileDialog::getSaveFileName(
0, // this
"Excel files (*.xlsx)"
What's the point? Can I just set it to 0?
Vladimir Bershov February 2016
Yes, you can set it to 0.
QDialog. From Qt 5 QDialog documentation:
...A dialog is always a top-level widget, but if it has a parent, its
default location is centered on top of the parent...
update: An important addition is in the first comment.
Asked in February 2016
Viewed 1,110 times
Answered 1 times
Leave an answer
Quote of the day: live life