screengrab-packaging/debian/patches/disable-cli-upload-option.patch
Alf Gaida 1e59e248db Cherry-picked upstream snapshot 1.96~38-g975f8ce
Removed not needed reproducible.patch, merged upstream
Added patch build-date-time.patch
Added patch disable-uploads.patch, core-cli-upload-option.patch,
  disable-cli-upload-option.patch (Closes: #834517)
Bumped compat to 10
Bumped dependency debhelper (>= 10)
Bumped Standards to 3.9.8, no changes needed
2016-09-19 03:57:00 +02:00

22 lines
903 B
Diff

Description: Disable cli upload option
Author: Alf Gaida <agaida@siduction.org>
Bug-Debian: https://bugs.debian.org/834517
Last-Update: 2016-09-19
--- screengrab-1.96~38-g975f8ce.orig/src/modules/uploader/moduleuploader.cpp
+++ screengrab-1.96~38-g975f8ce/src/modules/uploader/moduleuploader.cpp
@@ -36,11 +36,11 @@ const QString UPLOAD_CMD_PARAM_SHORT = "
ModuleUploader::ModuleUploader(QObject *parent) :
QObject(parent), _ignoreCmdParam(false),
- _optUpload(QStringList() << UPLOAD_CMD_PARAM_SHORT << UPLOAD_CMD_PARAM)
+ _optUpload(QStringList() << UPLOAD_CMD_PARAM_SHORT << UPLOAD_CMD_PARAM)
{
QString optUploadDescr = tr("Upload the screenshot to the default image host");
_optUpload.setDescription(optUploadDescr);
- Core::instance()->addCmdLineOption(_optUpload);
+ /* Core::instance()->addCmdLineOption(_optUpload); */
}
QString ModuleUploader::moduleName()