forked from qt-creator/qt-creator
CodePaster: Remove "make public" property
It's not functional in any of our implementations. Task-number: QTCREATORBUG-23972 Change-Id: I7c35b548e6069ff31e9a050752cd8267ce8ed7a8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -274,8 +274,8 @@ void CodePasterPluginPrivate::post(QString data, const QString &mimeType)
|
||||
|
||||
const FileDataList diffChunks = splitDiffToFiles(data);
|
||||
const int dialogResult = diffChunks.isEmpty() ?
|
||||
view.show(username, {}, {}, m_settings.expiryDays.value(), m_settings.publicPaste.value(), data) :
|
||||
view.show(username, {}, {}, m_settings.expiryDays.value(), m_settings.publicPaste.value(), diffChunks);
|
||||
view.show(username, {}, {}, m_settings.expiryDays.value(), data) :
|
||||
view.show(username, {}, {}, m_settings.expiryDays.value(), diffChunks);
|
||||
|
||||
// Save new protocol in case user changed it.
|
||||
if (dialogResult == QDialog::Accepted && m_settings.protocols.value() != view.protocol()) {
|
||||
|
||||
Reference in New Issue
Block a user