mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-01 02:36:23 -04:00
Added settings for the blinking icons
- private chat window/tab - chat lobby tab - all tray notifier git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5729 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
03e521c024
commit
af2257b1a9
28 changed files with 217 additions and 29 deletions
|
@ -165,9 +165,18 @@ ChatPage::save(QString &/*errmsg*/)
|
|||
chatflags |= RS_CHAT_FOCUS;
|
||||
if (ui.chat_tabbedWindow->isChecked())
|
||||
chatflags |= RS_CHAT_TABBED_WINDOW;
|
||||
if (ui.chat_Blink->isChecked())
|
||||
chatflags |= RS_CHAT_BLINK;
|
||||
|
||||
Settings->setChatFlags(chatflags);
|
||||
|
||||
uint chatLobbyFlags = 0;
|
||||
|
||||
if (ui.chatLobby_Blink->isChecked())
|
||||
chatLobbyFlags |= RS_CHATLOBBY_BLINK;
|
||||
|
||||
Settings->setChatLobbyFlags(chatLobbyFlags);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -215,6 +224,11 @@ ChatPage::load()
|
|||
ui.chat_NewWindow->setChecked(chatflags & RS_CHAT_OPEN);
|
||||
ui.chat_Focus->setChecked(chatflags & RS_CHAT_FOCUS);
|
||||
ui.chat_tabbedWindow->setChecked(chatflags & RS_CHAT_TABBED_WINDOW);
|
||||
ui.chat_Blink->setChecked(chatflags & RS_CHAT_BLINK);
|
||||
|
||||
uint chatLobbyFlags = Settings->getChatLobbyFlags();
|
||||
|
||||
ui.chatLobby_Blink->setChecked(chatLobbyFlags & RS_CHATLOBBY_BLINK);
|
||||
}
|
||||
|
||||
void ChatPage::on_pushButtonChangeChatFont_clicked()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue