Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Weixuan Xiao
kdeconnect-kde
Commits
eafa0194
Commit
eafa0194
authored
Jan 30, 2014
by
Samoilenko Yuri
Browse files
simple bugfix
parent
1d8ea764
Changes
2
Hide whitespace changes
Inline
Side-by-side
kded/plugins/sftp/mounter.h
View file @
eafa0194
...
...
@@ -37,7 +37,8 @@ public:
virtual
~
Mounter
();
bool
wait
();
bool
isMounted
()
const
{
return
m_started
;}
Q_SIGNALS:
void
mounted
();
void
unmounted
(
bool
idleTimeout
);
...
...
kded/plugins/sftp/sftpplugin.cpp
View file @
eafa0194
...
...
@@ -127,7 +127,7 @@ bool SftpPlugin::mountAndWait()
bool
SftpPlugin
::
isMounted
()
{
return
m_d
->
mounter
;
return
m_d
->
mounter
&&
m_d
->
mounter
->
isMounted
()
;
}
void
SftpPlugin
::
startBrowsing
()
...
...
@@ -193,6 +193,8 @@ void SftpPlugin::onFailed(const QString& message)
,
message
,
KIconLoader
::
global
()
->
loadIcon
(
"dialog-error"
,
KIconLoader
::
Desktop
)
);
m_d
->
mounter
->
deleteLater
();
m_d
->
mounter
=
0
;
}
void
SftpPlugin
::
knotify
(
int
type
,
const
QString
&
text
,
const
QPixmap
&
icon
)
const
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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