forked from mirror/openmw-tes3mp
Override closeEvent in MainWindow
This commit is contained in:
parent
86d8b0630f
commit
4c2294d105
2 changed files with 6 additions and 0 deletions
|
@ -133,3 +133,8 @@ void MainWindow::serverSelected()
|
||||||
if(tabWidget->currentIndex() == 0)
|
if(tabWidget->currentIndex() == 0)
|
||||||
actionAdd->setEnabled(true);
|
actionAdd->setEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::closeEvent(QCloseEvent *event)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ public:
|
||||||
explicit MainWindow(QWidget *parent = 0);
|
explicit MainWindow(QWidget *parent = 0);
|
||||||
virtual ~MainWindow();
|
virtual ~MainWindow();
|
||||||
protected:
|
protected:
|
||||||
|
void closeEvent(QCloseEvent * event) Q_DECL_OVERRIDE;
|
||||||
public slots:
|
public slots:
|
||||||
bool refresh();
|
bool refresh();
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|
Loading…
Reference in a new issue