mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 20:06:12 +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) :
|
NewFileDialog::NewFileDialog(MainWindow *main) :
|
||||||
QDialog(main),
|
QDialog(nullptr), // no parent on purpose, using main causes weird positioning
|
||||||
ui(new Ui::NewFileDialog),
|
ui(new Ui::NewFileDialog),
|
||||||
main(main)
|
main(main)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user