Fix patches

Try to fix the patches
ubuntu/groovy
apt-ghetto 5 years ago
parent 292bee7075
commit a96956cb42

@ -5,24 +5,22 @@ Last-Update: 2016-09-19
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -535,8 +535,9 @@ void Core::processCmdLineOpts(const QStr
@@ -534,7 +534,7 @@ void Core::processCmdLineOpts(const QStringList& arguments)
for (int i=0; i < _screenTypeOpts.count(); ++i)
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);
@@ -548,6 +549,9 @@ void Core::processCmdLineOpts(const QStr
} else
initWindow();
/// FIXMA - In module interface need add the mthod for geting module cmdLine options
const QString UPLOAD_CMD_PARAM = QStringLiteral("upload");
@@ -550,6 +550,9 @@ void Core::processCmdLineOpts(const QStringList& arguments)
#else
initWindow();
#endif
+*/
+
+initWindow();
+ initWindow();
}

@ -5,17 +5,12 @@ Last-Update: 2016-09-19
--- a/src/modules/uploader/moduleuploader.cpp
+++ b/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)
@@ -40,7 +40,7 @@ ModuleUploader::ModuleUploader(QObject *parent) :
{
QString optUploadDescr = tr("Upload the screenshot to the default image host");
_optUpload.setDescription(optUploadDescr);
- Core::instance()->addCmdLineOption(_optUpload);
+ /* Core::instance()->addCmdLineOption(_optUpload); */
+ // Core::instance()->addCmdLineOption(_optUpload);
}
QString ModuleUploader::moduleName()

Loading…
Cancel
Save