- Attempt to fix a crash while selecting 'Random' for map generation
Note 1: It occurs in BezierizeEdge procedure of uLandOutline while generating land preview
Note 2: Crash fixed, but most previews are not generated correctly, e.g. it's a case for bordered map.
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class DrawMapScene;
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
protected:
void changeEvent(QEvent *e);
private:
Ui::MainWindow *ui;
DrawMapScene * scene;
private slots:
void on_pbLoad_clicked();
void on_pbSave_clicked();
void scene_pathChanged();
};
#endif // MAINWINDOW_H