ClickBlurLabel: Create a label which is blurred until it is clicked

This is particularly useful for people who stream their desktop and don't want to accidentally leak their IP or room.
This commit is contained in:
Joshua Vandaële 2025-06-13 22:56:13 +02:00
parent a163877413
commit 8f0ef62a71
No known key found for this signature in database
GPG key ID: 5E8F4E7EDBD390EA
6 changed files with 103 additions and 2 deletions

View file

@ -48,6 +48,7 @@
#include "Core/System.h"
#include "DolphinQt/NetPlay/ChunkedProgressDialog.h"
#include "DolphinQt/NetPlay/ClickBlurLabel.h"
#include "DolphinQt/NetPlay/GameDigestDialog.h"
#include "DolphinQt/NetPlay/GameListDialog.h"
#include "DolphinQt/NetPlay/PadMappingDialog.h"
@ -287,7 +288,7 @@ void NetPlayDialog::CreatePlayersLayout()
{
m_players_box = new QGroupBox(tr("Players"));
m_room_box = new QComboBox;
m_hostcode_label = new QLabel;
m_hostcode_label = new ClickBlurLabel;
m_hostcode_action_button = new QPushButton(tr("Copy"));
m_players_list = new QTableWidget;
m_kick_button = new QPushButton(tr("Kick Player"));