rpcn: throw exception when using rpcn features without a proper config

This commit is contained in:
Megamouse 2023-03-03 10:45:29 +01:00
parent 14c0289542
commit 1d7a00666e
7 changed files with 47 additions and 30 deletions

View file

@ -35,7 +35,7 @@ bool sendmessage_dialog_frame::Exec(message_data& msg_data, std::set<std::string
m_dialog->setWindowTitle(tr("Choose friend to message:"));
m_rpcn = rpcn::rpcn_client::get_instance();
m_rpcn = rpcn::rpcn_client::get_instance(true);
QVBoxLayout* vbox_global = new QVBoxLayout();