Fixed warning message when launching 'tdecmshell kcmsambaconf'. This resolves bug 1887.

pull/1/head
Michele Calgaro 10 years ago
parent 42069cbc29
commit 1396eea8a5

@ -83,7 +83,7 @@ SambaUserList SmbPasswdFile::getSambaUserList()
SambaUserList list; SambaUserList list;
if ( f.open(IO_ReadOnly) ) if ( f.exists() && f.open(IO_ReadOnly) )
{ {
TQTextStream t( &f ); TQTextStream t( &f );
TQString s; TQString s;

Loading…
Cancel
Save