mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-22 16:46:45 -05:00
Fix minor issues with resize layout
This commit is contained in:
@@ -9,11 +9,13 @@
|
||||
#include <QDialogButtonBox>
|
||||
|
||||
class ResizableRect;
|
||||
class Editor;
|
||||
namespace Ui {
|
||||
class ResizeLayoutPopup;
|
||||
}
|
||||
|
||||
class Layout;
|
||||
class Project;
|
||||
|
||||
|
||||
|
||||
/// Custom scene that paints its background a gray checkered pattern.
|
||||
@@ -68,7 +70,7 @@ class ResizeLayoutPopup : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ResizeLayoutPopup(QWidget *parent, Editor *editor);
|
||||
ResizeLayoutPopup(QWidget *parent, Layout *layout, Project *project);
|
||||
~ResizeLayoutPopup();
|
||||
|
||||
void setupLayoutView();
|
||||
@@ -96,7 +98,8 @@ private slots:
|
||||
|
||||
private:
|
||||
QWidget *parent = nullptr;
|
||||
Editor *editor = nullptr;
|
||||
QPointer<Layout> layout = nullptr;
|
||||
QPointer<Project> project = nullptr;
|
||||
|
||||
Ui::ResizeLayoutPopup *ui;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user