Skip to content

Commit

Permalink
change tab to four spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
weixindut committed Jun 15, 2013
1 parent 6d6a50d commit ea83b95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mixxx/src/library/autodjfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ AutoDJFeature::~AutoDJFeature() {
}

QVariant AutoDJFeature::title() {
int autoDJId = m_playlistDao.getPlaylistIdFromName(AUTODJ_TABLE);
int autoDJId = m_playlistDao.getPlaylistIdFromName(AUTODJ_TABLE);
QString title = m_playlistDao.getPlaylistNameDisplayed(autoDJId);
return title;
return title;
}

QIcon AutoDJFeature::getIcon() {
Expand Down
6 changes: 3 additions & 3 deletions mixxx/src/library/baseplaylistfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void BasePlaylistFeature::slotDeletePlaylist() {
//qDebug() << "slotDeletePlaylist() row:" << m_lastRightClickedIndex.data();

//int playlistId = m_playlistDao.getPlaylistIdFromName(m_lastRightClickedIndex.data().toString());
int playlistId = m_playlistDao.getPlaylistIdFromNameDisplayed(m_lastRightClickedIndex.data().toString());
int playlistId = m_playlistDao.getPlaylistIdFromNameDisplayed(m_lastRightClickedIndex.data().toString());
bool locked = m_playlistDao.isPlaylistLocked(playlistId);

if (locked) {
Expand Down Expand Up @@ -409,8 +409,8 @@ void BasePlaylistFeature::addToAutoDJ(bool bTop) {
//qDebug() << "slotAddToAutoDJ() row:" << m_lastRightClickedIndex.data();

if (m_lastRightClickedIndex.isValid()) {
//int playlistId = m_playlistDao.getPlaylistIdFromName(
int playlistId = m_playlistDao.getPlaylistIdFromNameDisplayed(
//int playlistId = m_playlistDao.getPlaylistIdFromName(
int playlistId = m_playlistDao.getPlaylistIdFromNameDisplayed(
m_lastRightClickedIndex.data().toString());
if (playlistId >= 0) {
// Insert this playlist
Expand Down

0 comments on commit ea83b95

Please sign in to comment.