void SessionForm::Reload(int x) { /// \todo TRANSLATE ME WikiSite *site = Configuration::HuggleConfiguration->Projects.at(x); this->ui->label_2->setText("You are logged in as " + Configuration::HuggleConfiguration->SystemConfig_Username + "\n" + "SSL: " + Generic::Bool2String(Configuration::HuggleConfiguration->SystemConfig_UsingSSL) + "\n" + "RC feed: " + site->Provider->ToString()); int xx=0; this->ui->listWidget->clear(); while (xx < site->GetProjectConfig()->Rights.count()) { this->ui->listWidget->addItem(site->GetProjectConfig()->Rights.at(xx)); xx++; } }
void SessionForm::Reload(int x) { /// \todo TRANSLATE ME WikiSite *site = Configuration::HuggleConfiguration->Projects.at(x); this->ui->label_2->setText("You are logged in as " + Configuration::HuggleConfiguration->SystemConfig_Username + "\n" + "SSL: " + Generic::Bool2String(Configuration::HuggleConfiguration->SystemConfig_UsingSSL) + "\n" + "RC feed: " + site->Provider->ToString() + "\n" + "MediaWiki: " + site->MediawikiVersion.ToString()); this->ui->listWidget->clear(); foreach (QString p, site->GetProjectConfig()->Rights) this->ui->listWidget->addItem(p); }