mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Internal changes
Add missing `static` and `const`
This commit is contained in:
parent
979bf5e74a
commit
8f076d8075
|
@ -33,13 +33,13 @@ boost::optional<QByteArray> convertToPng(QImage image)
|
|||
|
||||
namespace chatterino {
|
||||
// These variables are only used from the main thread.
|
||||
auto uploadMutex = QMutex();
|
||||
std::queue<RawImageData> uploadQueue;
|
||||
static auto uploadMutex = QMutex();
|
||||
static std::queue<RawImageData> uploadQueue;
|
||||
|
||||
void uploadImageToNuuls(RawImageData imageData, ChannelPtr channel,
|
||||
ResizingTextEdit &textEdit)
|
||||
{
|
||||
const static char *boundary = "thisistheboudaryasd";
|
||||
const static char *const boundary = "thisistheboudaryasd";
|
||||
const static QString contentType =
|
||||
QString("multipart/form-data; boundary=%1").arg(boundary);
|
||||
static QUrl url(Env::get().imageUploaderUrl);
|
||||
|
|
Loading…
Reference in a new issue