added a forgotten time(NULL) in notifyqt.cpp

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1061 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-03-01 15:18:34 +00:00
parent 14dc2fbf7e
commit 56b3370cd1
5 changed files with 31 additions and 7 deletions

View file

@ -86,7 +86,7 @@ PopupChatDialog::PopupChatDialog(std::string id, std::string name,
// Create the status bar
std::ostringstream statusstr;
statusstr << "Chatting with: " << dialogName << " !!! " << id;
statusstr << "Chatting with " << dialogName << " (" << id << ")" ;
statusBar()->showMessage(QString::fromStdString(statusstr.str()));
ui.textBrowser->setOpenExternalLinks ( false );
@ -606,6 +606,7 @@ void PopupChatDialog::updateAvatar()
void PopupChatDialog::getAvatar()
{
QString fileName = QFileDialog::getOpenFileName(this, "Load File", QDir::homePath(), "Pictures (*.png *.xpm *.jpg)");
if(!fileName.isEmpty())
{
picture = QPixmap(fileName).scaled(82,82, Qt::IgnoreAspectRatio);