Includes, comments and bugfixes
- Fix includes - Use common regex (Song::kCoverRemoveDisc) for removing Disc/CD from album - Remove Disc/CD from album when creating hash - Make imobiledevice support compile - Fix setting device on windows
This commit is contained in:
@@ -20,8 +20,12 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <QMouseEvent>
|
||||
#include <QtDebug>
|
||||
#include <QWidget>
|
||||
#include <QMimeData>
|
||||
#include <QTreeView>
|
||||
#include <QAbstractItemModel>
|
||||
#include <QAbstractItemView>
|
||||
#include <QtEvents>
|
||||
|
||||
#include "autoexpandingtreeview.h"
|
||||
#include "core/mimedata.h"
|
||||
@@ -129,8 +133,7 @@ void AutoExpandingTreeView::mouseDoubleClickEvent(QMouseEvent *event) {
|
||||
QTreeView::mouseDoubleClickEvent(event);
|
||||
|
||||
// If the p_state was the "AnimatingState", then the base class's
|
||||
// "mouseDoubleClickEvent" method just did nothing, hence the
|
||||
// "doubleClicked" signal is not emitted. So let's do it ourselves.
|
||||
// "mouseDoubleClickEvent" method just did nothing, hence the "doubleClicked" signal is not emitted. So let's do it ourselves.
|
||||
if (index.isValid() && p_state == AnimatingState) {
|
||||
emit doubleClicked(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user