Cherry-pick upstream version 1.95+20150929.

switch to experimental because of libqtxdg
ubuntu/disco debian/1.95+20150929-1
Alf Gaida 9 years ago
parent 003d6f5466
commit 043e3115cd

6
debian/changelog vendored

@ -1,8 +1,8 @@
screengrab (1.95+20150907-1) unstable; urgency=medium screengrab (1.95+20150929-1) experimental; urgency=medium
[Alf Gaida ] [Alf Gaida ]
* Cherry-picking upstream version 1.95+20150929.
* Changed mail address of czchen * Changed mail address of czchen
* Cherry-picking upstream version 1.95+20150907.
* Added .gitignore * Added .gitignore
* Added watch file * Added watch file
* Added lintian-overrides * Added lintian-overrides
@ -20,4 +20,4 @@ screengrab (1.95+20150907-1) unstable; urgency=medium
[ Andrew Lee (李健秋) ] [ Andrew Lee (李健秋) ]
* Adding upstream version 1.95_pr1. * Adding upstream version 1.95_pr1.
-- Alf Gaida <agaida@siduction.org> Mon, 07 Sep 2015 23:00:38 +0200 -- Alf Gaida <agaida@siduction.org> Sun, 01 Nov 2015 23:34:44 +0100

4
debian/control vendored

@ -8,10 +8,10 @@ Priority: optional
Build-Depends: debhelper (>= 9), Build-Depends: debhelper (>= 9),
cmake (>= 3.0.2), cmake (>= 3.0.2),
libkf5windowsystem-dev, libkf5windowsystem-dev,
libx11-dev,
libqxt-dev, libqxt-dev,
libqt5x11extras5-dev, libqt5x11extras5-dev,
libqt5xdg-dev, libqt5xdg-dev (>= 1.3.0),
libx11-dev,
pkg-config, pkg-config,
qttools5-dev, qttools5-dev,
qttools5-dev-tools qttools5-dev-tools

@ -47,7 +47,7 @@ void Uploader_ImgUr::startUploading()
*/ */
QUrl Uploader_ImgUr::apiUrl() QUrl Uploader_ImgUr::apiUrl()
{ {
return QUrl("http://api.imgur.com/2/upload"); return QUrl("https://api.imgur.com/2/upload");
} }
/*! /*!

@ -31,13 +31,13 @@
// mediacru.sh settings // mediacru.sh settings
#define DEF_MCSH_URL "https://mediacru.sh/api/upload/file" #define DEF_MCSH_URL "https://mediacru.sh/api/upload/file"
QStringList UploaderConfig::_labelsList = QStringList() << "MediaCrush" << "Imgur"; QStringList UploaderConfig::_labelsList = QStringList() << "Imgur" << "MediaCrush";
UploaderConfig::UploaderConfig() UploaderConfig::UploaderConfig()
{ {
QString configFile = Config::getConfigDir() + QDir::separator() + "uploader.conf"; QString configFile = Config::getConfigDir() + QDir::separator() + "uploader.conf";
_settings = new QSettings(configFile, QSettings::IniFormat); _settings = new QSettings(configFile, QSettings::IniFormat);
_groupsList << "mediacru.sh" << "imgur.com"; _groupsList << "imgur.com" << "mediacru.sh";
} }
UploaderConfig::~UploaderConfig() UploaderConfig::~UploaderConfig()

Loading…
Cancel
Save