mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-02 03:17:09 +02:00
yuzu/multiplayer: Warn when game is running or no network interface is selected
This commit is contained in:
parent
339758c9fc
commit
2b6ac4463c
11 changed files with 81 additions and 19 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include <QSortFilterProxyModel>
|
||||
#include <QStandardItemModel>
|
||||
#include <QVariant>
|
||||
#include "core/core.h"
|
||||
#include "network/network.h"
|
||||
#include "yuzu/multiplayer/chat_room.h"
|
||||
#include "yuzu/multiplayer/validation.h"
|
||||
|
|
@ -35,7 +36,7 @@ class HostRoomWindow : public QDialog {
|
|||
public:
|
||||
explicit HostRoomWindow(QWidget* parent, QStandardItemModel* list,
|
||||
std::shared_ptr<Core::AnnounceMultiplayerSession> session,
|
||||
Network::RoomNetwork& room_network_);
|
||||
Core::System& system_);
|
||||
~HostRoomWindow();
|
||||
|
||||
/**
|
||||
|
|
@ -54,6 +55,7 @@ private:
|
|||
QStandardItemModel* game_list;
|
||||
ComboBoxProxyModel* proxy;
|
||||
Validation validation;
|
||||
Core::System& system;
|
||||
Network::RoomNetwork& room_network;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue