Added UploaderManager for further multiple Storage for images support (#2142)

Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
This commit is contained in:
Yurii Puchkov
2021-12-08 01:19:32 +02:00
committed by GitHub
parent f5bbf73cfd
commit 203b5baab6
17 changed files with 391 additions and 177 deletions

View File

@@ -536,9 +536,9 @@ void GeneralConf::initAntialiasingPinZoom()
void GeneralConf::initUploadWithoutConfirmation()
{
m_uploadWithoutConfirmation =
new QCheckBox(tr("Upload to Imgur without confirmation"), this);
new QCheckBox(tr("Upload image without confirmation"), this);
m_uploadWithoutConfirmation->setToolTip(
tr("Upload to Imgur without confirmation"));
tr("Upload image without confirmation"));
m_scrollAreaLayout->addWidget(m_uploadWithoutConfirmation);
connect(m_uploadWithoutConfirmation, &QCheckBox::clicked, [](bool checked) {
ConfigHandler().setUploadWithoutConfirmation(checked);