mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-19 21:04:08 +01:00
Code cleanup.
This commit is contained in:
parent
f4f9b70f8d
commit
6b92048c15
@ -19,10 +19,6 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include <QFuture>
|
||||
#include <QFutureWatcher>
|
||||
#include <QtConcurrentRun>
|
||||
|
||||
#include "networkremote.h"
|
||||
#include "core/logging.h"
|
||||
#include "core/timeconstants.h"
|
||||
@ -520,8 +516,8 @@ void OutgoingDataCreator::SendLyrics(int id, const SongInfoFetcher::Result& resu
|
||||
foreach (const CollapsibleInfoPane::Data& data, result.info_) {
|
||||
// If the size is zero, do not send the provider
|
||||
SongInfoTextView* editor = qobject_cast<SongInfoTextView*>(data.contents_);
|
||||
//if (editor->toPlainText().length() == 0)
|
||||
// continue;
|
||||
if (editor->toPlainText().length() == 0)
|
||||
continue;
|
||||
|
||||
pb::remote::Lyric* lyric = response->mutable_lyrics()->Add();
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "remoteclient.h"
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
|
||||
|
||||
typedef QList<SongInfoProvider*> ProviderList;
|
||||
|
||||
class OutgoingDataCreator : public QObject {
|
||||
|
@ -21,10 +21,10 @@
|
||||
#include "ultimatelyricsprovider.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
#include <QXmlStreamReader>
|
||||
|
||||
class QIODevice;
|
||||
class QThread;
|
||||
|
||||
class UltimateLyricsReader : public QObject {
|
||||
Q_OBJECT
|
||||
|
Loading…
Reference in New Issue
Block a user