- 
    
Bug
 - 
    Resolution: Out of scope
 - 
    
  Not Evaluated                     
     - 
    None
 - 
    4.6.2
 - 
    None
 - 
    Ubuntu 9.10
 
The following code works fine in Windows XP to switch the background color of a QDoubleSpinBox between blue and the defult value:
On Linux (Ubuntu 9.10 and several earlier Ubuntu releases it doesn't work).
template<> void selectScanWidget(QDoubleSpinBox* w, const std::string&, bool bScan)
{
    if(bScan)
    w->setPalette(bScan ? palScanning : palInitial);
}