summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-24 01:18:28 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-24 01:18:28 +0000
commit894f94545727610df22c4f73911d62d58266f695 (patch)
tree0f5ca5e709ad20082399ee9abd0c8170826c7463 /scripts
parent71f595e255709082f918cacfb1f4b420ba2fee5a (diff)
downloadktorrent-894f94545727610df22c4f73911d62d58266f695.tar.gz
ktorrent-894f94545727610df22c4f73911d62d58266f695.zip
Fixed images
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1106865 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ktshell18
1 files changed, 1 insertions, 17 deletions
diff --git a/scripts/ktshell b/scripts/ktshell
index c3971b9..45979e0 100755
--- a/scripts/ktshell
+++ b/scripts/ktshell
@@ -341,23 +341,7 @@ init () {
break
done
fi
- local IFS='
- '
- sessnms=( `dcop --user $usernm --list-sessions | tail -n +2 | head -n -1` )
- unset IFS
- if (( ${#sessnms[*]} == 0 )); then
- echo "Found no session."
- exit 1
- fi
- echo "Found a DCOP session."
- sessnm=${sessnms[0]}
- if (( ${#sessnms[*]} > 1 )); then
- echo "Which session of the user's DCOP server do you wish to connect to?"
- select sessnm in ${sessnms[*]}; do
- break
- done
- fi
- dcop="dcop --user $usernm --session $sessnm"
+ dcop="dcop --user $usernm"
ktorrents=( `$dcop 2>/dev/null` )
if (( $? != 0 )); then
echo "Cannot connect to the DCOP server."