aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbAndroid/dbandroidconnectionfactory.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2017-02-09 04:36:04 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2017-02-09 04:36:04 -0500
commitd9aa870e5d509cc7309ab82dd102a937ab58613a (patch)
treed92d03d76b5c390b335f1cfd761f1a0b59ec8496 /Plugins/DbAndroid/dbandroidconnectionfactory.cpp
parent68ee4cbcbe424b95969c70346283a9f217f63825 (diff)
Imported Upstream version 3.1.1+dfsg1upstream/3.1.1+dfsg1
Diffstat (limited to 'Plugins/DbAndroid/dbandroidconnectionfactory.cpp')
-rw-r--r--Plugins/DbAndroid/dbandroidconnectionfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/DbAndroid/dbandroidconnectionfactory.cpp b/Plugins/DbAndroid/dbandroidconnectionfactory.cpp
index 22377b4..e1e59f8 100644
--- a/Plugins/DbAndroid/dbandroidconnectionfactory.cpp
+++ b/Plugins/DbAndroid/dbandroidconnectionfactory.cpp
@@ -17,7 +17,7 @@ DbAndroidConnection* DbAndroidConnectionFactory::create(const DbAndroidUrl& url,
switch (url.getMode())
{
case DbAndroidMode::SHELL:
- return new DbAndroidShellConnection(plugin, parent);
+ return new DbAndroidShellConnection(plugin, url.getDevice(), parent);
case DbAndroidMode::NETWORK:
case DbAndroidMode::USB:
return new DbAndroidJsonConnection(plugin, parent);