From: Karai C. <ck...@us...> - 2007-02-12 20:15:28
|
Update of /cvsroot/krusader/krusader_kde3/krusader/Panel In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv6750/krusader_kde3/krusader/Panel Modified Files: panelfunc.cpp Log Message: FIXED: [ 1649705 ] "Deleting non-empty directories" confirmation bug Index: panelfunc.cpp =================================================================== RCS file: /cvsroot/krusader/krusader_kde3/krusader/Panel/panelfunc.cpp,v retrieving revision 1.182 retrieving revision 1.183 diff -C2 -d -r1.182 -r1.183 *** panelfunc.cpp 10 Jan 2007 19:42:24 -0000 1.182 --- panelfunc.cpp 12 Feb 2007 20:15:22 -0000 1.183 *************** *** 678,682 **** if ( emptyDirVerify && vf->vfile_isDir() && !vf->vfile_isSymLink() ) { dir.setPath( panel->virtualPath().path() + "/" + ( *name ) ); ! if ( dir.entryList(QDir::All | QDir::AccessMask).count() > 2 ) { switch ( KMessageBox::warningYesNoCancel( krApp, i18n( "<qt><p>Directory <b>%1</b> is not empty!</p><p>Skip this one or Delete All?</p></qt>" ).arg(*name), --- 678,682 ---- if ( emptyDirVerify && vf->vfile_isDir() && !vf->vfile_isSymLink() ) { dir.setPath( panel->virtualPath().path() + "/" + ( *name ) ); ! if ( dir.entryList(QDir::All | QDir::System | QDir::Hidden ).count() > 2 ) { switch ( KMessageBox::warningYesNoCancel( krApp, i18n( "<qt><p>Directory <b>%1</b> is not empty!</p><p>Skip this one or Delete All?</p></qt>" ).arg(*name), |