[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/krfb
From: George Goldberg <grundleborg () googlemail ! com>
Date: 2009-09-16 12:13:39
Message-ID: 1253103219.147959.20817.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1024344 by gberg:
When a new connection comes in, only allow the option of letting the remote control \
keyboard and mouse if it is allowed in the krfb configuration.
CCBUG: 166447
M +1 -1 connectioncontroller.cpp
M +1 -0 connectiondialog.cpp
--- trunk/KDE/kdenetwork/krfb/connectioncontroller.cpp #1024343:1024344
@@ -132,7 +132,7 @@
ConnectionDialog *dialog = new ConnectionDialog(0);
dialog->setRemoteHost(remoteIp);
- dialog->setAllowRemoteControl( true );
+ dialog->setAllowRemoteControl(KrfbConfig::allowDesktopControl());
connect(dialog, SIGNAL(okClicked()), SLOT(dialogAccepted()));
connect(dialog, SIGNAL(cancelClicked()), SLOT(dialogRejected()));
--- trunk/KDE/kdenetwork/krfb/connectiondialog.cpp #1024343:1024344
@@ -60,6 +60,7 @@
void ConnectionDialog::setAllowRemoteControl( bool b )
{
cbAllowRemoteControl->setChecked( b );
+ cbAllowRemoteControl->setVisible(b);
}
bool ConnectionDialog::allowRemoteControl()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic