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:
Jonas Kvinge
2018-05-01 00:41:33 +02:00
parent fccbd6790c
commit e337b7933b
518 changed files with 7003 additions and 4693 deletions

View File

@@ -20,7 +20,16 @@
#include "config.h"
#include <QKeyEvent>
#include <stdbool.h>
#include <QtGlobal>
#include <QWidget>
#include <QSize>
#include <QTextEdit>
#include <QTextOption>
#include <QFontMetrics>
#include <QSizePolicy>
#include <QtEvents>
#include "linetextedit.h"
@@ -51,7 +60,8 @@ QSize LineTextEdit::minimumSizeHint() const {
void LineTextEdit::keyPressEvent(QKeyEvent *e) {
if (e->key() == Qt::Key_Enter || e->key() == Qt::Key_Return) {
e->ignore();
} else {
}
else {
QTextEdit::keyPressEvent(e);
}
}