We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d69293a commit 2794d3dCopy full SHA for 2794d3d
gui/applicationlist.cpp
@@ -196,6 +196,16 @@ bool ApplicationList::FindDefaultWindowsEditor()
196
return true;
197
}
198
199
+ const QString notepadTwoPath = appPath + "\\Notepad2\\Notepad2.exe";
200
+ if (QFileInfo(notepadTwoPath).isExecutable()) {
201
+ Application app;
202
+ app.setName("Notepad2");
203
+ app.setPath("\"" + notepadTwoPath + "\"");
204
+ app.setParameters("/g (line) (file)");
205
+ AddApplication(app);
206
+ return true;
207
+ }
208
+
209
const QString windowsPath(getenv("windir"));
210
const QString notepadPath = windowsPath + "\\system32\\notepad.exe";
211
if (QFileInfo(notepadPath).isExecutable()) {
0 commit comments