mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-21 08:21:54 +02:00
* Fix sorting for CollectionModel.
This commit is contained in:
parent
b1f716ce97
commit
43614040ab
2
README
2
README
@ -15,7 +15,7 @@ Gloox 1.0 (XMPP library)
|
||||
You need to build gloox 1.0 from source, Ubuntu 10.04 only packages v0.9.
|
||||
|
||||
$ # Download and unpack tarball
|
||||
$ CXXFLAGS=-fPIC ./configure --without-openssl --with-gnutls --without-libidn --with-zlib --without-examples --without-tests
|
||||
$ ./configure --without-openssl --with-gnutls --without-libidn --with-zlib --without-examples --without-tests
|
||||
$ CXXFLAGS=-fPIC make
|
||||
$ sudo make install
|
||||
|
||||
|
@ -11,6 +11,12 @@ CollectionView::CollectionView( QWidget* parent )
|
||||
: TrackView( parent )
|
||||
{
|
||||
setProxyModel( new CollectionProxyModel( this ) );
|
||||
|
||||
setSortingEnabled( true );
|
||||
sortByColumn( 0, Qt::AscendingOrder );
|
||||
|
||||
setDragDropMode( QAbstractItemView::DragOnly );
|
||||
setAcceptDrops( false );
|
||||
}
|
||||
|
||||
|
||||
|
@ -150,10 +150,10 @@ TomahawkApp::TomahawkApp( int& argc, char *argv[] )
|
||||
#else
|
||||
m_nam = new QNetworkAccessManager;
|
||||
#endif
|
||||
|
||||
m_mainwindow = new TomahawkWindow();
|
||||
m_mainwindow->show();
|
||||
connect( m_mainwindow, SIGNAL( settingsChanged() ), SIGNAL( settingsChanged() ) );
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user