Clean up Q_WS_WIN

The first branch is required to MSVC. The bitfield isn't large enough to
represent all possible enum values of Virtualness for MSVC.

In addition, using bitfield is a premature optimisation in this case.
So remove them.

Change-Id: I4c5f85271d2bca1411426e6a321a795a7e783aff
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
bb10
Debao Zhang 2012-12-14 10:23:47 +08:00 committed by The Qt Project
parent 06031f8bc4
commit d914017ebe
1 changed files with 0 additions and 5 deletions

View File

@ -822,13 +822,8 @@ private:
QString rt;
QStringList pp;
#ifdef Q_WS_WIN
Metaness met;
Virtualness vir;
#else
Metaness met : 4;
Virtualness vir : 2;
#endif
bool con : 1;
bool sta : 1;
bool ove : 1;