mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-27 02:11:27 -05: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
@ -42,8 +42,9 @@ ProfileWidget::ProfileWidget(QWidget *parent, Qt::WFlags flags)
|
||||
/* Invoke Qt Designer generated QObject setup routine */
|
||||
ui.setupUi(this);
|
||||
|
||||
|
||||
connect(ui.editstatuspushButton,SIGNAL(clicked()), this, SLOT(statusmessagedlg()));
|
||||
|
||||
ui.onlinesince->setText(QDateTime::currentDateTime().toString(DATETIME_FMT));
|
||||
|
||||
}
|
||||
|
||||
@ -106,9 +107,7 @@ void ProfileWidget::showEvent ( QShowEvent * event )
|
||||
std::ostringstream out;
|
||||
out << friends << "";
|
||||
ui.friendsEdit->setText(QString::fromStdString(out.str()));
|
||||
|
||||
ui.onlinesince->setText(QDateTime::currentDateTime().toString(DATETIME_FMT));
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user