1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-19 21:04:08 +01:00

Code cleanup.

This commit is contained in:
Andreas 2013-07-10 20:00:52 +02:00
parent f4f9b70f8d
commit 6b92048c15
3 changed files with 4 additions and 7 deletions

View File

@ -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();

View File

@ -24,6 +24,7 @@
#include "remoteclient.h"
#include <boost/scoped_ptr.hpp>
typedef QList<SongInfoProvider*> ProviderList;
class OutgoingDataCreator : public QObject {

View File

@ -21,10 +21,10 @@
#include "ultimatelyricsprovider.h"
#include <QObject>
#include <QThread>
#include <QXmlStreamReader>
class QIODevice;
class QThread;
class UltimateLyricsReader : public QObject {
Q_OBJECT