diff options
Diffstat (limited to 'api/logic/screenshots')
-rw-r--r-- | api/logic/screenshots/ImgurAlbumCreation.cpp | 4 | ||||
-rw-r--r-- | api/logic/screenshots/ImgurUpload.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/api/logic/screenshots/ImgurAlbumCreation.cpp b/api/logic/screenshots/ImgurAlbumCreation.cpp index 3d32f597..ff9ec6fd 100644 --- a/api/logic/screenshots/ImgurAlbumCreation.cpp +++ b/api/logic/screenshots/ImgurAlbumCreation.cpp @@ -6,13 +6,13 @@ #include <QUrl> #include <QStringList> -#include "net/URLConstants.h" +#include "BuildConfig.h" #include "Env.h" #include <QDebug> ImgurAlbumCreation::ImgurAlbumCreation(QList<ScreenshotPtr> screenshots) : NetAction(), m_screenshots(screenshots) { - m_url = URLConstants::IMGUR_BASE_URL + "album.json"; + m_url = BuildConfig.IMGUR_BASE_URL + "album.json"; m_status = Job_NotStarted; } diff --git a/api/logic/screenshots/ImgurUpload.cpp b/api/logic/screenshots/ImgurUpload.cpp index 74165869..1585b061 100644 --- a/api/logic/screenshots/ImgurUpload.cpp +++ b/api/logic/screenshots/ImgurUpload.cpp @@ -8,13 +8,13 @@ #include <QFile> #include <QUrl> -#include "net/URLConstants.h" +#include "BuildConfig.h" #include "Env.h" #include <QDebug> ImgurUpload::ImgurUpload(ScreenshotPtr shot) : NetAction(), m_shot(shot) { - m_url = URLConstants::IMGUR_BASE_URL + "upload.json"; + m_url = BuildConfig.IMGUR_BASE_URL + "upload.json"; m_status = Job_NotStarted; } |