Ignore:
Timestamp:
Oct 19, 2010, 2:22:18 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

webkit: Added proper OS/2 version reporting to the UserAgent string (closes #175).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp

    r769 r799  
    17841784            d->client = 0;
    17851785        } else {
    1786             if (!d->client) 
     1786            if (!d->client)
    17871787                d->client = new QWebPageWidgetClient(view);
    17881788            else
     
    30723072
    30733073    "Mozilla/5.0 (%Platform%; %Security%; %Subplatform%; %Locale%) AppleWebKit/%WebKitVersion% (KHTML, like Gecko) %AppVersion Safari/%WebKitVersion%"
    3074    
     3074
    30753075    On mobile platforms such as Symbian S60 and Maemo, "Mobile Safari" is used instead of "Safari".
    30763076
     
    31013101#elif defined Q_OS_SYMBIAN
    31023102    "Symbian"
     3103
     3104
    31033105#else
    31043106    "Unknown"
     
    31473149    "NetBSD"
    31483150#elif defined Q_OS_OS2
    3149     "OS/2"
     3151    ""
    31503152#elif defined Q_OS_OPENBSD
    31513153    "OpenBSD"
     
    32013203        osVer = "/4";
    32023204        break;
    3203     default: 
     3205    default:
    32043206        osVer = "";
    32053207    }
     
    32653267            ver = "Windows CE 6.x";
    32663268            break;
     3269
     3270
     3271
     3272
     3273
     3274
     3275
     3276
     3277
     3278
     3279
     3280
     3281
     3282
     3283
     3284
     3285
     3286
     3287
     3288
     3289
     3290
     3291
     3292
     3293
     3294
     3295
     3296
     3297
     3298
     3299
     3300
     3301
     3302
    32673303    }
    32683304    ua = QString(ua).arg(ver);
     
    32833319        subPlatformVer = "Series60/5.0";
    32843320        break;
    3285     default: 
     3321    default:
    32863322        subPlatformVer = "";
    32873323    }
Note: See TracChangeset for help on using the changeset viewer.