The expand/collapse arrows for Q3ListView look wrong on Mac OS X. See attached Windows and Mac screenshots.

listview_windows.png

listview_mac.png

In the Mac screenshot the expand/collapse arrows are partly obscured by the Q3ListViewItems. It looks quite wrong. The problem also exists in Qt 4.7, but not in Qt 4.2 (I haven't tried releases in between).

Here is the code to replicate the problem:

Qt Code:
  1. #include <QApplication>
  2. #include <Q3ListView>
  3. int
  4. main( int argc, char* argv[] )
  5. {
  6. QApplication app( argc, argv );
  7.  
  8. Q3ListView w;
  9. w.setRootIsDecorated( true );
  10. w.addColumn( "col1" );
  11. w.show();
  12.  
  13. Q3ListViewItem* item1 = new Q3ListViewItem( &w, "item1" );
  14. Q3ListViewItem* item2 = new Q3ListViewItem( item1, "item2" );
  15. Q3ListViewItem* item3 = new Q3ListViewItem( item2, "item3" );
  16.  
  17. QObject::connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( quit() ) );
  18.  
  19. return app.exec();
  20. }
To copy to clipboard, switch view to plain text mode 

Surely I can't be the only person using Q3ListView on Mac? I have searched, but can't find an answer. Any ideas?