mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kio: drop SMB support
with the kdirshare service in place I have no intention to support it Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
025826275d
commit
4c53fe58fe
1 changed files with 1 additions and 8 deletions
|
@ -52,12 +52,6 @@
|
|||
#include <kconfiggroup.h>
|
||||
#include <kfilesystemtype_p.h>
|
||||
|
||||
static bool isSMBShare(const QString &dirpath)
|
||||
{
|
||||
// TODO:
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool isNFSShare(const QString &dirpath)
|
||||
{
|
||||
QFile etabfile(QString::fromLatin1("/var/lib/nfs/etab"));
|
||||
|
@ -991,8 +985,7 @@ QStringList KFileItem::overlays() const
|
|||
|
||||
if( S_ISDIR( d->m_fileMode ) && d->m_bIsLocalUrl)
|
||||
{
|
||||
if (isSMBShare( d->m_url.toLocalFile() ) ||
|
||||
isNFSShare( d->m_url.toLocalFile() ) ||
|
||||
if (isNFSShare( d->m_url.toLocalFile() ) ||
|
||||
isKDirShare( d->m_url.toLocalFile() ))
|
||||
{
|
||||
//kDebug() << d->m_url.path();
|
||||
|
|
Loading…
Add table
Reference in a new issue