mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-10 23:45:16 +01:00
Merge branch 'master' into pamfsave
This commit is contained in:
commit
bf621fbe13
|
|
@ -10,8 +10,7 @@ void cfg_rpcn::load()
|
|||
{
|
||||
const std::string path = cfg_rpcn::get_path();
|
||||
|
||||
fs::file cfg_file(path, fs::read);
|
||||
if (cfg_file)
|
||||
if (fs::file cfg_file(path, fs::read); cfg_file)
|
||||
{
|
||||
rpcn_log.notice("Loading RPCN config. Path: %s", path);
|
||||
from_string(cfg_file.to_string());
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
struct cfg_rpcn : cfg::node
|
||||
{
|
||||
cfg::uint32 version{this, "Version", 1};
|
||||
cfg::uint32 version{this, "Version", 2};
|
||||
cfg::string host{this, "Host", "np.rpcs3.net"};
|
||||
cfg::string npid{this, "NPID", ""};
|
||||
cfg::string password{this, "Password", ""};
|
||||
|
|
|
|||
|
|
@ -1347,7 +1347,10 @@ rpcn_friends_dialog::rpcn_friends_dialog(QWidget* parent)
|
|||
|
||||
rpcn_friends_dialog::~rpcn_friends_dialog()
|
||||
{
|
||||
m_rpcn->remove_friend_cb(friend_callback, this);
|
||||
if (m_rpcn)
|
||||
{
|
||||
m_rpcn->remove_friend_cb(friend_callback, this);
|
||||
}
|
||||
}
|
||||
|
||||
bool rpcn_friends_dialog::add_friend_with_error_dialog(const std::string& friend_username)
|
||||
|
|
|
|||
Loading…
Reference in a new issue