NOISSUE Allow joining servers from the servers page
This commit is contained in:
@ -35,7 +35,7 @@ class ServersPage : public QMainWindow, public BasePage
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ServersPage(MinecraftInstance *inst, QWidget *parent = 0);
|
||||
explicit ServersPage(InstancePtr inst, QWidget *parent = 0);
|
||||
virtual ~ServersPage();
|
||||
|
||||
void openedImpl() override;
|
||||
@ -74,6 +74,7 @@ private slots:
|
||||
void on_actionRemove_triggered();
|
||||
void on_actionMove_Up_triggered();
|
||||
void on_actionMove_Down_triggered();
|
||||
void on_actionJoin_triggered();
|
||||
|
||||
void on_RunningState_changed(bool running);
|
||||
|
||||
@ -88,6 +89,6 @@ private: // data
|
||||
bool m_locked = true;
|
||||
Ui::ServersPage *ui = nullptr;
|
||||
ServersModel * m_model = nullptr;
|
||||
MinecraftInstance * m_inst = nullptr;
|
||||
InstancePtr m_inst = nullptr;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user