mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
@ -182,7 +182,7 @@ void DlgAccounts::loadAccount(QListWidgetItem * item)
|
||||
edit6_mailbox->setText( account->getAccountDetail(ACCOUNT_MAILBOX));
|
||||
checkBox_conformRFC->setChecked( account->getAccountDetail(ACCOUNT_RESOLVE_ONCE) != "TRUE" );
|
||||
bool ok;
|
||||
int val = account->getAccountDetail(ACCOUNT_EXPIRE).toInt(ok);
|
||||
int val = account->getAccountDetail(ACCOUNT_EXPIRE).toInt(&ok);
|
||||
spinbox_regExpire->setValue(ok ? val : ACCOUNT_EXPIRE_DEFAULT);
|
||||
updateStatusLabel(account);
|
||||
frame2_editAccounts->setEnabled(true);
|
||||
|
@ -30,6 +30,8 @@
|
||||
|
||||
/**
|
||||
@author Jérémy Quentin <jeremy.quentin@gmail.com>
|
||||
|
||||
\note see ticket #1309 for advices about how to improve this class.
|
||||
*/
|
||||
class DlgAccounts : public QWidget, public Ui_DlgAccountsBase
|
||||
{
|
||||
@ -38,6 +40,7 @@ public:
|
||||
DlgAccounts(KConfigDialog *parent = 0);
|
||||
|
||||
void saveAccount(QListWidgetItem * item);
|
||||
|
||||
/**
|
||||
* Fills the settings form in the right side with the
|
||||
* settings of @p item.
|
||||
@ -49,7 +52,7 @@ public:
|
||||
* is filled with the right default settings if blank (as 600 for
|
||||
* registration expire).
|
||||
*
|
||||
* @param item
|
||||
* @param item the item with which to fill the settings form
|
||||
*/
|
||||
void loadAccount(QListWidgetItem * item);
|
||||
|
||||
|
Reference in New Issue
Block a user