mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Qt/NetPlayDialog: Add external IP to interface combo box
The interface address isn't particularly useful in most circumstances (playing over internet), and we have a way to get the external IP now, so displaying it in the dialog is useful.
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "Common/Lazy.h"
|
||||
#include "Core/NetPlayClient.h"
|
||||
#include "VideoCommon/OnScreenDisplay.h"
|
||||
|
||||
@ -79,6 +80,7 @@ private:
|
||||
void OnStart();
|
||||
void DisplayMessage(const QString& msg, const std::string& color,
|
||||
int duration = OSD::Duration::NORMAL);
|
||||
void ResetExternalIP();
|
||||
void UpdateDiscordPresence();
|
||||
void UpdateGUI();
|
||||
void GameStatusChanged(bool running);
|
||||
@ -122,7 +124,7 @@ private:
|
||||
MD5Dialog* m_md5_dialog;
|
||||
PadMappingDialog* m_pad_mapping;
|
||||
std::string m_current_game;
|
||||
std::string m_external_ip_address;
|
||||
Common::Lazy<std::string> m_external_ip_address;
|
||||
std::string m_nickname;
|
||||
GameListModel* m_game_list_model = nullptr;
|
||||
bool m_use_traversal = false;
|
||||
|
Reference in New Issue
Block a user