Details
-
Bug
-
Resolution: Done
-
P4: Low
-
4.4.0
-
None
-
2d63f8fe5b77747014e1c5807c9d457611bd9304
Description
The output result should be 1 and font combo should have "Sans Serif" selected. Instead, output is 2 and font combo has some other font selected.
Code to reproduce:
//------------------------------------------------------------------------------------
#include <QtGui>
#include <QtTest>
int main( int argc, char * argv[] )
{
QApplication app( argc, argv );
QFontComboBox cb;
QSignalSpy spy( & cb, SIGNAL( currentFontChanged( const QFont & ) ) );
QFont f( "Sans Serif" );
cb.setCurrentFont(f);
qDebug() << spy.count();
cb.show();
return app.exec();
}
//------------------------------------------------------------------------------------