@@ -125,7 +125,7 @@ class KeyModel : public ValueEditor::Model {
125
125
auto self = ValueEditor::Model::sharedFromThis ().toWeakRef ();
126
126
127
127
m_connection->cmd (
128
- cmdParts, m_notifier.data (), m_dbIndex ,
128
+ cmdParts, m_notifier.data (), - 1 ,
129
129
[this , callback, rowStart, self](RedisClient::Response r) {
130
130
if (!r.isValidScanResponse ()) {
131
131
callback (QCoreApplication::translate (
@@ -242,7 +242,7 @@ class KeyModel : public ValueEditor::Model {
242
242
243
243
return callback (QString (), r.value ().toList ());
244
244
},
245
- m_dbIndex );
245
+ - 1 );
246
246
} catch (const RedisClient::Connection::Exception& e) {
247
247
callback (
248
248
QCoreApplication::translate (" RDM" , " Cannot load rows for key %1: %2" )
@@ -284,7 +284,7 @@ class KeyModel : public ValueEditor::Model {
284
284
RedisClient::Response::Type expectedType =
285
285
RedisClient::Response::Type::Unknown) {
286
286
m_connection->cmd (
287
- cmd, m_notifier.data (), m_dbIndex ,
287
+ cmd, m_notifier.data (), - 1 ,
288
288
[c, handler, expectedType](RedisClient::Response r) {
289
289
if (expectedType != RedisClient::Response::Type::Unknown &&
290
290
r.type () != expectedType) {
0 commit comments