Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2009-09-16 23:20:08 +0400
committerThorvald Natvig <slicer@users.sourceforge.net>2009-09-16 23:20:08 +0400
commit537fe0587de1fea7e94a13803f1d923db056c36f (patch)
treeb84673a5a98fe122194f39d01fb841f8801ea46e /src/mumble/ACLEditor.cpp
parent8528a2369f82c466d9737114095a31debbf63e4f (diff)
Fix display of default permissions when not inheriting ACLs
Diffstat (limited to 'src/mumble/ACLEditor.cpp')
-rw-r--r--src/mumble/ACLEditor.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mumble/ACLEditor.cpp b/src/mumble/ACLEditor.cpp
index 9fc0113ec..8ca298a29 100644
--- a/src/mumble/ACLEditor.cpp
+++ b/src/mumble/ACLEditor.cpp
@@ -477,7 +477,7 @@ ChanACL *ACLEditor::currentACL() {
if (idx < 0)
return NULL;
- if (! bInheritACL)
+ if (idx && ! bInheritACL)
idx += numInheritACL;
return qlACLs[idx];
}
@@ -791,9 +791,6 @@ void ACLEditor::on_qcbACLGroup_activated(const QString &text) {
void ACLEditor::on_qcbACLUser_activated() {
QString text = qcbACLUser->currentText();
- qWarning("ACLUSER INDEXED!");
- qWarning() << text;
-
ChanACL *as = currentACL();
if (! as || as->bInherited)
return;