summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-14 22:34:15 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-15 13:33:00 -0800
commit7aab63558525a8c6e17d39bdc4e3691baa02266e (patch)
tree5f875366977b81df358e258844eac3d7c579d0f7 /desktop-widgets/mainwindow.cpp
parentc8be04edad5e5f8cc91bae22d599ffdda1042376 (diff)
downloadsubsurface-7aab63558525a8c6e17d39bdc4e3691baa02266e.tar.gz
Remove support for older libgit2 - we now require 0.23 or later
Also fixes a capitalization error that prevented finding libssh2 in some circumstances. And adds a missing include when building with libzip on Mac. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 93cd2d408..62b72441f 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -197,13 +197,7 @@ MainWindow::MainWindow() : QMainWindow(),
plannerDetails->printPlan()->hide();
ui.menuFile->removeAction(ui.actionPrint);
#endif
-#ifndef USE_LIBGIT23_API
- ui.menuFile->removeAction(ui.actionCloudstorageopen);
- ui.menuFile->removeAction(ui.actionCloudstoragesave);
- qDebug() << "disabled / made invisible the cloud storage stuff";
-#else
enableDisableCloudActions();
-#endif
GpsLocation *locationProvider = new GpsLocation(&report_message, this);
if (!locationProvider->hasLocationsSource()) {
@@ -314,10 +308,8 @@ void MainWindow::on_actionDiveSiteEdit_triggered() {
void MainWindow::enableDisableCloudActions()
{
-#ifdef USE_LIBGIT23_API
ui.actionCloudstorageopen->setEnabled(prefs.cloud_verification_status == CS_VERIFIED);
ui.actionCloudstoragesave->setEnabled(prefs.cloud_verification_status == CS_VERIFIED);
-#endif
}
PlannerDetails *MainWindow::plannerDetails() const {