void CPlugin::shutStandAlone() { // we don't care about unregistering window class, let it be in the system if (isStandAlone() && m_hWndParent) DestroyWindow(m_hWndParent); m_bPluginReady = FALSE; }
void CoreAccountSettingsPage::on_accountView_doubleClicked(const QModelIndex &index) { if(!index.isValid()) return; if(isStandAlone()) emit connectToCore(index.data(CoreAccountModel::AccountIdRole).value<AccountId>()); else editAccount(index); }