mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Fix sorting for CollectionModel.
This commit is contained in:
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.
|
You need to build gloox 1.0 from source, Ubuntu 10.04 only packages v0.9.
|
||||||
|
|
||||||
$ # Download and unpack tarball
|
$ # 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
|
$ CXXFLAGS=-fPIC make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
|
||||||
|
@@ -11,6 +11,12 @@ CollectionView::CollectionView( QWidget* parent )
|
|||||||
: TrackView( parent )
|
: TrackView( parent )
|
||||||
{
|
{
|
||||||
setProxyModel( new CollectionProxyModel( this ) );
|
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
|
#else
|
||||||
m_nam = new QNetworkAccessManager;
|
m_nam = new QNetworkAccessManager;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_mainwindow = new TomahawkWindow();
|
m_mainwindow = new TomahawkWindow();
|
||||||
m_mainwindow->show();
|
m_mainwindow->show();
|
||||||
connect( m_mainwindow, SIGNAL( settingsChanged() ), SIGNAL( settingsChanged() ) );
|
connect( m_mainwindow, SIGNAL( settingsChanged() ), SIGNAL( settingsChanged() ) );
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user