Skip to content
Permalink
Browse files

Remove Ubuntu One support.

  • Loading branch information
hatstand committed Apr 2, 2014
1 parent a471789 commit 30d1c2f8db6fbe7caa39f9057cf3aa19cb880907
@@ -187,11 +187,6 @@ optional_component(GOOGLE_DRIVE ON "Google Drive support"
DEPENDS "Taglib 1.8" "TAGLIB_VERSION VERSION_GREATER 1.7.999"
)

optional_component(UBUNTU_ONE ON "Ubuntu One file support"
DEPENDS "Google sparsehash" SPARSEHASH_INCLUDE_DIRS
DEPENDS "Taglib 1.8" "TAGLIB_VERSION VERSION_GREATER 1.7.999"
)

optional_component(DROPBOX ON "Dropbox support"
DEPENDS "Google sparsehash" SPARSEHASH_INCLUDE_DIRS
DEPENDS "Taglib 1.8" "TAGLIB_VERSION VERSION_GREATER 1.7.999"
@@ -114,11 +114,6 @@ TagLib::ByteVector CloudStream::readBlock(ulong length) {
QString("bytes=%1-%2").arg(start).arg(end).toUtf8());
request.setAttribute(QNetworkRequest::CacheLoadControlAttribute,
QNetworkRequest::AlwaysNetwork);
// The Ubuntu One server applies the byte range to the gzipped data, rather
// than the raw data so we must disable compression.
if (url_.host() == "files.one.ubuntu.com") {
request.setRawHeader("Accept-Encoding", "identity");
}

QNetworkReply* reply = network_->get(request);
connect(reply, SIGNAL(sslErrors(QList<QSslError>)),
@@ -1085,22 +1085,6 @@ optional_source(HAVE_GOOGLE_DRIVE
internet/googledrivesettingspage.ui
)

# Ubuntu One file support
optional_source(HAVE_UBUNTU_ONE
SOURCES
internet/ubuntuoneauthenticator.cpp
internet/ubuntuoneservice.cpp
internet/ubuntuonesettingspage.cpp
internet/ubuntuoneurlhandler.cpp
HEADERS
internet/ubuntuoneauthenticator.h
internet/ubuntuoneservice.h
internet/ubuntuonesettingspage.h
internet/ubuntuoneurlhandler.h
UI
internet/ubuntuonesettingspage.ui
)

# Dropbox support
optional_source(HAVE_DROPBOX
SOURCES
@@ -41,7 +41,6 @@
#cmakedefine HAVE_SKYDRIVE
#cmakedefine HAVE_SPARKLE
#cmakedefine HAVE_SPOTIFY_DOWNLOADER
#cmakedefine HAVE_UBUNTU_ONE
#cmakedefine HAVE_VK
#cmakedefine HAVE_WIIMOTEDEV
#cmakedefine IMOBILEDEVICE_USES_UDIDS
@@ -41,9 +41,6 @@
#ifdef HAVE_GOOGLE_DRIVE
#include "googledriveservice.h"
#endif
#ifdef HAVE_UBUNTU_ONE
#include "ubuntuoneservice.h"
#endif
#ifdef HAVE_DROPBOX
#include "dropboxservice.h"
#endif
@@ -101,9 +98,6 @@ InternetModel::InternetModel(Application* app, QObject* parent)
#ifdef HAVE_SKYDRIVE
AddService(new SkydriveService(app, this));
#endif
#ifdef HAVE_UBUNTU_ONE
AddService(new UbuntuOneService(app, this));
#endif
#ifdef HAVE_VK
AddService(new VkService(app, this));
#endif

This file was deleted.

This file was deleted.

0 comments on commit 30d1c2f

Please sign in to comment.
You can’t perform that action at this time.