mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-23 05:44:45 -04:00
fixed Online since update only one time at start.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3202 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
47a2f06094
commit
3ea1bb5f9f
1 changed files with 3 additions and 4 deletions
|
@ -42,9 +42,10 @@ ProfileWidget::ProfileWidget(QWidget *parent, Qt::WFlags flags)
|
||||||
/* Invoke Qt Designer generated QObject setup routine */
|
/* Invoke Qt Designer generated QObject setup routine */
|
||||||
ui.setupUi(this);
|
ui.setupUi(this);
|
||||||
|
|
||||||
|
|
||||||
connect(ui.editstatuspushButton,SIGNAL(clicked()), this, SLOT(statusmessagedlg()));
|
connect(ui.editstatuspushButton,SIGNAL(clicked()), this, SLOT(statusmessagedlg()));
|
||||||
|
|
||||||
|
ui.onlinesince->setText(QDateTime::currentDateTime().toString(DATETIME_FMT));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Destructor. */
|
/** Destructor. */
|
||||||
|
@ -107,8 +108,6 @@ void ProfileWidget::showEvent ( QShowEvent * event )
|
||||||
out << friends << "";
|
out << friends << "";
|
||||||
ui.friendsEdit->setText(QString::fromStdString(out.str()));
|
ui.friendsEdit->setText(QString::fromStdString(out.str()));
|
||||||
|
|
||||||
ui.onlinesince->setText(QDateTime::currentDateTime().toString(DATETIME_FMT));
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue