File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,8 +197,8 @@ QSettings& operator <<(QSettings& out, const MenuConnect* menu)
197197 while (it.hasNext ())
198198 {
199199 const auto item = it.next ();
200- const QAction* action = it .key ();
201- const ConnectionDetails& cd = it .value ();
200+ const QAction* action = item .key ();
201+ const ConnectionDetails& cd = item .value ();
202202
203203 QByteArray a;
204204 QDataStream ds (&a, QIODevice::WriteOnly);
@@ -224,8 +224,8 @@ QSettings& operator >>(QSettings& in, MenuConnect* menu)
224224 QMapIterator it (menu->_connectionDetailsMap );
225225 while (it.hasNext ())
226226 {
227- auto && item = it.next ();
228- QAction* action = it .key ();
227+ const auto item = it.next ();
228+ QAction* action = item .key ();
229229
230230 const QByteArray a = in.value (" MenuConnect/" + action->property (" id" ).toString ()).toByteArray ();
231231 if (!a.isEmpty ())
You can’t perform that action at this time.
0 commit comments