--- amarok/src/socketserver.h.orig Thu Feb 17 23:56:36 2005 +++ amarok/src/socketserver.h Fri Feb 18 00:13:30 2005 @@ -61,7 +61,6 @@ class Selector : public QListView { Q_OBJECT - friend class Item; Selector( QWidget *parent=0 ); SocketServer *m_server; @@ -81,6 +80,7 @@ , m_proc( 0 ) , m_sockfd( -1 ) , m_command( command ) { setText( 1, s2 ); } + ~Item(); virtual void stateChange( bool state ); @@ -89,6 +89,9 @@ int m_sockfd; const char *m_command; }; + + friend class Selector::Item; + private slots: void rightButton( QListViewItem*, const QPoint&, int );