mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
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:
parent
14dc2fbf7e
commit
56b3370cd1
5 changed files with 31 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue