* Cherry-picked upstream version 1.98. * Removed date-time patch, applied upstream * Refreshed the remaining patches * Fixed system-wide configuration (Closes: #893809) * Fixed default file format (Closes: LP1733461)
22 lines
805 B
Diff
22 lines
805 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
|
|
|
|
--- a/src/modules/uploader/moduleuploader.cpp
|
|
+++ b/src/modules/uploader/moduleuploader.cpp
|
|
@@ -36,11 +36,11 @@
|
|
|
|
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()
|