You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
903 B
22 lines
903 B
9 years ago
|
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()
|