Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
e48af9ba
Commit
e48af9ba
authored
8 years ago
by
AndreyL ProductEngine
Browse files
Options
Downloads
Patches
Plain Diff
MAINT-7020 llui/llfloater.cpp should not access settings
parent
946b28ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
indra/llui/llfloater.cpp
+1
-9
1 addition, 9 deletions
indra/llui/llfloater.cpp
indra/newview/llimview.cpp
+7
-1
7 additions, 1 deletion
indra/newview/llimview.cpp
indra/newview/skins/default/xui/en/floater_outgoing_call.xml
+1
-0
1 addition, 0 deletions
indra/newview/skins/default/xui/en/floater_outgoing_call.xml
with
9 additions
and
10 deletions
indra/llui/llfloater.cpp
+
1
−
9
View file @
e48af9ba
...
@@ -64,8 +64,6 @@
...
@@ -64,8 +64,6 @@
// use this to control "jumping" behavior when Ctrl-Tabbing
// use this to control "jumping" behavior when Ctrl-Tabbing
const
S32
TABBED_FLOATER_OFFSET
=
0
;
const
S32
TABBED_FLOATER_OFFSET
=
0
;
extern
LLControlGroup
gSavedSettings
;
namespace
LLInitParam
namespace
LLInitParam
{
{
void
TypeValues
<
LLFloaterEnums
::
EOpenPositioning
>::
declareValues
()
void
TypeValues
<
LLFloaterEnums
::
EOpenPositioning
>::
declareValues
()
...
@@ -653,13 +651,7 @@ void LLFloater::openFloater(const LLSD& key)
...
@@ -653,13 +651,7 @@ void LLFloater::openFloater(const LLSD& key)
&&
!
getFloaterHost
()
&&
!
getFloaterHost
()
&&
(
!
getVisible
()
||
isMinimized
()))
&&
(
!
getVisible
()
||
isMinimized
()))
{
{
//Don't play a sound for incoming voice call based upon chat preference setting
make_ui_sound
(
"UISndWindowOpen"
);
bool
playSound
=
!
(
getName
()
==
"incoming call"
&&
gSavedSettings
.
getBOOL
(
"PlaySoundIncomingVoiceCall"
)
==
FALSE
);
if
(
playSound
)
{
make_ui_sound
(
"UISndWindowOpen"
);
}
}
}
//RN: for now, we don't allow rehosting from one multifloater to another
//RN: for now, we don't allow rehosting from one multifloater to another
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llimview.cpp
+
7
−
1
View file @
e48af9ba
...
@@ -2354,7 +2354,13 @@ void LLIncomingCallDialog::onAvatarNameCache(const LLUUID& agent_id,
...
@@ -2354,7 +2354,13 @@ void LLIncomingCallDialog::onAvatarNameCache(const LLUUID& agent_id,
void
LLIncomingCallDialog
::
onOpen
(
const
LLSD
&
key
)
void
LLIncomingCallDialog
::
onOpen
(
const
LLSD
&
key
)
{
{
LLCallDialog
::
onOpen
(
key
);
LLCallDialog
::
onOpen
(
key
);
make_ui_sound
(
"UISndStartIM"
);
if
(
gSavedSettings
.
getBOOL
(
"PlaySoundIncomingVoiceCall"
))
{
// play a sound for incoming voice call if respective property is set
make_ui_sound
(
"UISndStartIM"
);
}
LLStringUtil
::
format_map_t
args
;
LLStringUtil
::
format_map_t
args
;
LLGroupData
data
;
LLGroupData
data
;
// if it's a group call, retrieve group name to use it in question
// if it's a group call, retrieve group name to use it in question
...
...
This diff is collapsed.
Click to expand it.
indra/newview/skins/default/xui/en/floater_outgoing_call.xml
+
1
−
0
View file @
e48af9ba
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
layout=
"topleft"
layout=
"topleft"
name=
"outgoing call"
name=
"outgoing call"
help_topic=
"outgoing_call"
help_topic=
"outgoing_call"
sound_flags=
"0"
save_dock_state=
"true"
save_dock_state=
"true"
title=
"CALLING"
title=
"CALLING"
width=
"410"
>
width=
"410"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment