http://git.etersoft.ru/people/dimbor/packages
/
opennx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a3f38
)
no browse local resources if sharing is off
mingw-build
author
dimbor
<i@dimbor.ru>
Wed, 22 Apr 2015 12:26:14 +0000
(15:26 +0300)
committer
dimbor
<i@dimbor.ru>
Wed, 22 Apr 2015 12:26:14 +0000
(15:26 +0300)
MySession.cpp
patch
|
blob
|
blame
|
history
diff --git
a/MySession.cpp
b/MySession.cpp
index 45c5ef8513066c704f83cb776528b30c3e69bcc0..e187d7f5f8c9593f68257b77b40220314e2fc6e4 100644
(file)
--- a/
MySession.cpp
+++ b/
MySession.cpp
@@
-1328,6
+1328,8
@@
MySession::parseSessions(bool moreAllowed)
void
MySession::startSharing()
{
+ if (!m_pCfg->bGetUseCups() && !m_pCfg->bGetEnableSmbSharing())
+ return;
ArrayOfShareGroups sg = m_pCfg->aGetShareGroups();
wxArrayString used = m_pCfg->aGetUsedShareGroups();
CupsClient cc;