parent
786123caab
commit
baf6d516b9
@ -0,0 +1,6 @@
|
||||
[DEFAULT]
|
||||
debian-branch = debian/sid
|
||||
upstream-branch = upstream/latest
|
||||
pristine-tar = True
|
||||
compression = xz
|
||||
|
@ -1,28 +0,0 @@
|
||||
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/core/core.cpp
|
||||
+++ b/src/core/core.cpp
|
||||
@@ -536,8 +536,9 @@
|
||||
if (_cmdLine.isSet(_screenTypeOpts.at(i)))
|
||||
_conf->setDefScreenshotType(i);
|
||||
|
||||
+/*
|
||||
#ifdef SG_EXT_UPLOADS
|
||||
- /// FIXMA - In module interface need add the mthod for geting module cmdLine options
|
||||
+ /// FIXMA - In module interface need add the mthod for geting module cmdLine option
|
||||
const QString UPLOAD_CMD_PARAM = "upload";
|
||||
const QString UPLOAD_CMD_PARAM_SHORT = "u";
|
||||
QCommandLineOption u(QStringList() << UPLOAD_CMD_PARAM_SHORT << UPLOAD_CMD_PARAM);
|
||||
@@ -549,6 +550,9 @@
|
||||
} else
|
||||
initWindow();
|
||||
#endif
|
||||
+*/
|
||||
+
|
||||
+initWindow();
|
||||
|
||||
}
|
||||
|
@ -1,21 +0,0 @@
|
||||
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()
|
@ -1,2 +0,0 @@
|
||||
disable-cli-upload-option.patch
|
||||
core-cli-upload-option.patch
|
Loading…
Reference in new issue