Move checking the cloud connection into its own files

This isn't UI related and shouldn't have been in a file full of UI
functionality.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-06-16 06:08:31 -07:00
parent 0fa0eb2879
commit 854f55fd89
6 changed files with 78 additions and 58 deletions

View file

@ -33,7 +33,6 @@
#include <QImageReader>
#include <QtConcurrent>
#include "divepicturewidget.h"
#include "subsurfacewebservices.h"
#include "mainwindow.h"
#include <libxslt/documents.h>
@ -1068,11 +1067,6 @@ extern "C" bool getProxyString(char **buffer)
return false;
}
extern "C" bool canReachCloudServer()
{
return CheckCloudConnection::checkServer();
}
extern "C" void subsurface_mkdir(const char *dir)
{
QDir directory;