View | Details | Raw Unified
Collapse All | Expand All

(-) kdebase-3.4.2/konqueror/konq_mainwindow_old.cc (-1 / +2 lines)
 Lines 39-44    Link Here 
#include <kzip.h>
#include <kzip.h>
#include <config.h>
#include <config.h>
#include <pwd.h>
#include <pwd.h>
#include <kio/netaccess.h>
// we define STRICT_ANSI to get rid of some warnings in glibc
// we define STRICT_ANSI to get rid of some warnings in glibc
#ifndef __STRICT_ANSI__
#ifndef __STRICT_ANSI__
#define __STRICT_ANSI__
#define __STRICT_ANSI__
 Lines 428-434    Link Here 
        QString fileName = path.mid( lastSlash + 1 );
        QString fileName = path.mid( lastSlash + 1 );
        QString testPath = path.left( lastSlash + 1 );
        QString testPath = path.left( lastSlash + 1 );
        if ( ( fileName.find( '*' ) != -1 || fileName.find( '[' ) != -1 || fileName.find( '?' ) != -1 )
        if ( ( fileName.find( '*' ) != -1 || fileName.find( '[' ) != -1 || fileName.find( '?' ) != -1 )
             && ( !url.isLocalFile() || QFile::exists( testPath ) ) )
             && ( !url.isLocalFile() || QFile::exists( testPath ) ) && !KIO::NetAccess::exists( url, true ) )
        {
        {
            nameFilter = fileName;
            nameFilter = fileName;
            url.setFileName( QString::null );
            url.setFileName( QString::null );