mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-16 19:04:43 +03:00
Hide crashreporter config option if not build with crashreporter enabled
This commit is contained in:
parent
6abaad1ae8
commit
38ff7d87c8
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,8 @@
|
||||||
#include "updater/updater.h"
|
#include "updater/updater.h"
|
||||||
#include "updater/ocupdater.h"
|
#include "updater/ocupdater.h"
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include <QNetworkProxy>
|
#include <QNetworkProxy>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|
||||||
|
@ -57,6 +59,10 @@ GeneralSettings::GeneralSettings(QWidget *parent) :
|
||||||
connect(_ui->monoIconsCheckBox, SIGNAL(toggled(bool)), SLOT(saveMiscSettings()));
|
connect(_ui->monoIconsCheckBox, SIGNAL(toggled(bool)), SLOT(saveMiscSettings()));
|
||||||
connect(_ui->crashreporterCheckBox, SIGNAL(toggled(bool)), SLOT(saveMiscSettings()));
|
connect(_ui->crashreporterCheckBox, SIGNAL(toggled(bool)), SLOT(saveMiscSettings()));
|
||||||
|
|
||||||
|
#ifndef WITH_CRASHREPORTER
|
||||||
|
_ui->crashreporterCheckBox->setVisible(false);
|
||||||
|
#endif
|
||||||
|
|
||||||
// OEM themes are not obliged to ship mono icons, so there
|
// OEM themes are not obliged to ship mono icons, so there
|
||||||
// is no point in offering an option
|
// is no point in offering an option
|
||||||
QString themeDir = QString::fromLatin1(":/mirall/theme/%1/")
|
QString themeDir = QString::fromLatin1(":/mirall/theme/%1/")
|
||||||
|
|
Loading…
Reference in a new issue