diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-08-19 19:36:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-08-19 19:36:00 +0900 |
commit | 1396eea8a5b6bdbb3d49819ea8ba108f5d0a5e04 (patch) | |
tree | b68b36fbab0dd99cd660d860e92a1d49f5884670 /filesharing | |
parent | 42069cbc2928c7f162235113a0db08622b088503 (diff) | |
download | tdenetwork-1396eea8a5b6bdbb3d49819ea8ba108f5d0a5e04.tar.gz tdenetwork-1396eea8a5b6bdbb3d49819ea8ba108f5d0a5e04.zip |
Fixed warning message when launching 'tdecmshell kcmsambaconf'. This resolves bug 1887.
Diffstat (limited to 'filesharing')
-rw-r--r-- | filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp b/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp index cc6e6a18..cf91918f 100644 --- a/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp +++ b/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp @@ -83,7 +83,7 @@ SambaUserList SmbPasswdFile::getSambaUserList() SambaUserList list; - if ( f.open(IO_ReadOnly) ) + if ( f.exists() && f.open(IO_ReadOnly) ) { TQTextStream t( &f ); TQString s; |