Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-windows
Commits
e6538795
Commit
e6538795
authored
May 08, 2015
by
Edric Milaret
Committed by
Guillaume Roguez
May 15, 2015
Browse files
windows: add upnp ui
Refs #71910 Change-Id: I0e0497b59c4a50c9e6200090b1d241b820741da0
parent
f38362d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
accountdetails.cpp
View file @
e6538795
...
...
@@ -219,6 +219,7 @@ AccountDetails::setAccount(Account* currentAccount) {
ui
->
videoEnabledCheckBox
->
setChecked
(
currentAccount_
->
isVideoEnabled
());
ui
->
autoAnswerCheckBox
->
setChecked
(
currentAccount_
->
isAutoAnswer
());
ui
->
upnpCheckBox
->
setChecked
(
currentAccount_
->
isUpnpEnabled
());
}
void
...
...
@@ -360,3 +361,8 @@ AccountDetails::on_tabWidget_currentChanged(int index)
ui
->
videoCodecView
->
setCurrentItem
(
ui
->
videoCodecView
->
item
(
0
,
0
));
}
}
void
AccountDetails
::
on_upnpCheckBox_clicked
(
bool
checked
)
{
currentAccount_
->
setUpnpEnabled
(
checked
);
}
accountdetails.h
View file @
e6538795
...
...
@@ -59,6 +59,7 @@ private slots:
void
on_proxyEdit_editingFinished
();
void
on_voicemailEdit_editingFinished
();
void
on_tabWidget_currentChanged
(
int
index
);
void
on_upnpCheckBox_clicked
(
bool
checked
);
private
slots
:
void
audio_codec_checked
(
int
row
,
int
column
);
...
...
accountdetails.ui
View file @
e6538795
...
...
@@ -140,7 +140,7 @@
<item
row=
"7"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"upnpCheckBox"
>
<property
name=
"enabled"
>
<bool>
fals
e
</bool>
<bool>
tru
e
</bool>
</property>
<property
name=
"text"
>
<string>
UPnP enabled
</string>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment