=== modified file 'mixxx/src/dlgprepare.cpp' --- mixxx/src/dlgprepare.cpp 2012-11-20 00:40:18 +0000 +++ mixxx/src/dlgprepare.cpp 2012-12-02 13:51:37 +0000 @@ -198,11 +198,6 @@ void DlgPrepare::showRecentSongs() { - int datetimeColumn = m_pPrepareLibraryTableModel->fieldIndex(LIBRARYTABLE_DATETIMEADDED); - // Don't tell the TableView to sortByColumn() because this generates excess - // select()'s. Use setSort() on the model, and it will take effect when - // showRecentSongs() select()'s. - m_pPrepareLibraryTableModel->setSort(datetimeColumn, Qt::DescendingOrder); m_pPrepareLibraryTableModel->showRecentSongs(); } === modified file 'mixxx/src/dlgrecording.cpp' --- mixxx/src/dlgrecording.cpp 2012-11-29 04:31:48 +0000 +++ mixxx/src/dlgrecording.cpp 2012-12-02 13:51:59 +0000 @@ -22,7 +22,7 @@ m_proxyModel(&m_browseModel), m_pRecordingManager(pRecordingManager) { setupUi(this); - m_pTrackTableView = new WTrackTableView(this, pConfig, m_pTrackCollection); + m_pTrackTableView = new WTrackTableView(this, pConfig, m_pTrackCollection, false); // No sorting m_pTrackTableView->installEventFilter(pKeyboard); connect(m_pTrackTableView, SIGNAL(loadTrack(TrackPointer)), @@ -49,14 +49,9 @@ m_browseModel.setPath(m_recordingDir); m_pTrackTableView->loadTrackModel(&m_proxyModel); - //Sort by the position column and lock it - m_pTrackTableView->sortByColumn(0, Qt::AscendingOrder); - m_pTrackTableView->setSortingEnabled(false); - connect(pushButtonRecording, SIGNAL(toggled(bool)), this, SLOT(toggleRecording(bool))); label->setText(tr("Start recording here ...")); - } DlgRecording::~DlgRecording() === modified file 'mixxx/src/library/preparelibrarytablemodel.cpp' --- mixxx/src/library/preparelibrarytablemodel.cpp 2012-11-25 11:17:13 +0000 +++ mixxx/src/library/preparelibrarytablemodel.cpp 2012-12-02 13:52:39 +0000 @@ -10,8 +10,7 @@ : LibraryTableModel(parent, pTrackCollection, "mixxx.db.model.prepare") { m_bShowRecentSongs = true; - setSearch("", m_bShowRecentSongs ? RECENT_FILTER : QString()); - select(); + setSearch("", RECENT_FILTER); connect(this, SIGNAL(doSearch(const QString&)), this, SLOT(slotSearch(const QString&)));