rem: while ( (fi=it.current()) ) {
add: while ( (fi=*it) ) {
context: void findPostitFiles(){  QString p = KApplication::localkdedir();  QString filesdir = p + "/share/apps/knotes/notes/";  QString alarmdir = p + "/share/apps/knotes/xyalarms";  if ( access( filesdir.data(), F_OK ) ){    mkdir( filesdir.data(), 0700 );  }  if ( access( alarmdir.data(), F_OK ) ){    mkdir( alarmdir.data(), 0700 );  }  QDir d(filesdir);  d.setSorting( QDir::Name );  const QStrList *list = d.entryList();  QStrListIterator it( *list );      // create list iterator  char *fi;                          // pointer for traversing  while ( (fi=it.current()) ) {           // for each file...    if (strcmp(".",fi) ==0 || strcmp("..",fi) ==0 ||strcmp("xyalarms",fi) ==0){      ++it;      continue;    }    KPostit::PostitFilesList.inSort(fi);    ++it;  }}