GUI preview: make window a dialog so that it closes properly on macos
This commit is contained in:
parent
5bb0b9f4a5
commit
1d9d9ec1fb
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>Preview</class>
|
<class>Preview</class>
|
||||||
<widget class="QWidget" name="Preview">
|
<widget class="QDialog" name="Preview">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
|
|||||||
@ -108,7 +108,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class Preview : public QWidget, public Ui::Preview {
|
class Preview : public QDialog, public Ui::Preview {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user