mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Fix NewFileDialog positioning on macOS
This commit is contained in:
parent
7a77eeee06
commit
c3f1636aee
@ -51,7 +51,7 @@ static QIcon getIconFor(const QString &str, int pos)
|
||||
}
|
||||
|
||||
NewFileDialog::NewFileDialog(MainWindow *main) :
|
||||
QDialog(main),
|
||||
QDialog(nullptr), // no parent on purpose, using main causes weird positioning
|
||||
ui(new Ui::NewFileDialog),
|
||||
main(main)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user