mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Changed popup fchat focus for typingnotification
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1238 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0dd42c966c
commit
cd961bf49f
@ -69,7 +69,7 @@ PopupChatDialog::PopupChatDialog(std::string id, std::string name,
|
|||||||
loadEmoticons();
|
loadEmoticons();
|
||||||
|
|
||||||
last_status_send_time = 0 ;
|
last_status_send_time = 0 ;
|
||||||
styleHtm = appDir + "/style/chat/default.htm";
|
styleHtm = ":/qss/chat/default.htm";
|
||||||
|
|
||||||
/* Hide Avatar frame */
|
/* Hide Avatar frame */
|
||||||
showAvatarFrame(false);
|
showAvatarFrame(false);
|
||||||
@ -159,9 +159,9 @@ void PopupChatDialog::updateStatusTyping()
|
|||||||
//
|
//
|
||||||
void PopupChatDialog::updateStatusString(const QString& status_string)
|
void PopupChatDialog::updateStatusString(const QString& status_string)
|
||||||
{
|
{
|
||||||
statusBar()->showMessage(status_string,2000) ; // displays info for 5 secs.
|
statusBar()->showMessage(status_string,5000) ; // displays info for 5 secs.
|
||||||
|
|
||||||
QTimer::singleShot(2000,this,SLOT(resetStatusBar())) ;
|
QTimer::singleShot(5000,this,SLOT(resetStatusBar())) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -309,6 +309,7 @@ std::cout << "PopupChatDialog:addChatMsg message : " << message.toStdString() <<
|
|||||||
std::cerr << "received msg saying an avatar for peer " << ci->rsid << " is available." << std::endl ;
|
std::cerr << "received msg saying an avatar for peer " << ci->rsid << " is available." << std::endl ;
|
||||||
updatePeerAvatar(ci->rsid) ;
|
updatePeerAvatar(ci->rsid) ;
|
||||||
}
|
}
|
||||||
|
resetStatusBar() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PopupChatDialog::checkChat()
|
void PopupChatDialog::checkChat()
|
||||||
|
Loading…
Reference in New Issue
Block a user