forked from qt-creator/qt-creator
PasteSelectDialog: Fix after refactoring
Don't compare int with QString - which even compiles with Qt 5 (but
luckily doesn't with Qt 6).
Amends 123133841e
Change-Id: I347568c89658896a2e094610dbf1700ff84d81c5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -317,7 +317,7 @@ void CodePasterPluginPrivate::fetch()
|
||||
const QString pasteID = dialog.pasteId();
|
||||
if (pasteID.isEmpty())
|
||||
return;
|
||||
Protocol *protocol = m_protocols[dialog.protocolIndex()];
|
||||
Protocol *protocol = m_protocols[dialog.protocol()];
|
||||
if (Protocol::ensureConfiguration(protocol))
|
||||
protocol->fetch(pasteID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user