Changeset 25352 in webkit


Ignore:
Timestamp:
Sep 4, 2007 6:02:04 AM (17 years ago)
Author:
hausmann
Message:

Fixed Qt build on Windows

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r25351 r25352  
     12007-09-04  Girish Ramakrishnan  <girish@trolltech.com>
     2
     3        Reviewed by Simon.
     4
     5        Fixed Qt build on Windows
     6
     7        * html/HTMLFormElement.cpp:
     8        (WebCore::pathGetFilename):
     9
    1102007-09-03  David Harrison  <harrison@apple.com>
    211
  • trunk/WebCore/html/HTMLFormElement.cpp

    r25080 r25352  
    4343#include "RenderTextControl.h"
    4444
     45#if PLATFORM(QT)
     46#include <QtCore/QFileInfo>
     47#endif
     48
    4549#if PLATFORM(WIN_OS)
    4650#include <shlwapi.h>
     
    220224static String pathGetFilename(String path)
    221225{
    222 #if PLATFORM(WIN_OS)
     226#if PLATFORM(QT)
     227    return QFileInfo(path).fileName();
     228#elif PLATFORM(WIN_OS)
    223229    return String(PathFindFileName(path.charactersWithNullTermination()));
    224230#else
Note: See TracChangeset for help on using the changeset viewer.