We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfd5742 commit 993120aCopy full SHA for 993120a
src/NotepadNext/NotepadNextApplication.cpp
@@ -341,11 +341,10 @@ void NotepadNextApplication::sendInfoToPrimaryInstance()
341
342
QStringList argsToSend;
343
const QStringList positionalArguments = parser.positionalArguments();
344
- const QSet<QString> positionalSet(positionalArguments.begin(), positionalArguments.end());
345
346
// Any positional arguments need translated into an absolute file path relative to this instance
347
for (const QString &arg : arguments()) {
348
- if (positionalSet.contains(arg)) {
+ if (positionalArguments.contains(arg)) {
349
QFileInfo fileInfo(arg);
350
argsToSend.append(fileInfo.absoluteFilePath());
351
} else {
0 commit comments