Bug 37266

Summary: [Qt] Warnings when compiling InspectorClientQt.cpp
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: CLOSED FIXED    
Severity: Enhancement CC: commit-queue, hausmann
Priority: P5 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 35784    
Attachments:
Description Flags
Simple patch none

Description Benjamin Poulain 2010-04-08 06:32:21 PDT
When compiling InspectorClientQt.cpp, GCC output tons of warning for the switch():

WebCoreSupport/InspectorClientQt.cpp: In function 'WebCore::InspectorController::Setting WebCore::variantToSetting(const QVariant&)':                                              
WebCoreSupport/InspectorClientQt.cpp:213: warning: enumeration value 'Invalid' not handled in switch                                                                               
WebCoreSupport/InspectorClientQt.cpp:213: warning: enumeration value 'UInt' not handled in switch                                                                                  
WebCoreSupport/InspectorClientQt.cpp:213: warning: enumeration value 'LongLong' not handled in switch    
etc, etc
Comment 1 Benjamin Poulain 2010-04-08 06:38:57 PDT
Created attachment 52858 [details]
Simple patch
Comment 2 WebKit Commit Bot 2010-04-08 08:57:20 PDT
Comment on attachment 52858 [details]
Simple patch

Clearing flags on attachment: 52858

Committed r57281: <http://trac.webkit.org/changeset/57281>
Comment 3 WebKit Commit Bot 2010-04-08 08:57:25 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Simon Hausmann 2010-04-09 01:15:11 PDT
Revision r57281 cherry-picked into qtwebkit-2.0 with commit 495f0dbc739bad809f60326825424758b7daf526