diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..4e2d0de --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "C/C++ Runner: Debug Session", + "type": "cppdbg", + "request": "launch", + "args": [], + "stopAtEntry": false, + "externalConsole": false, + "cwd": "/home/matmoul/Local/git/plasma-containmentactions-customdesktopmenu/src", + "program": "/home/matmoul/Local/git/plasma-containmentactions-customdesktopmenu/src/build/Debug/outDebug", + "MIMode": "gdb", + "miDebuggerPath": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..bb879da --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,59 @@ +{ + "C_Cpp_Runner.cCompilerPath": "gcc", + "C_Cpp_Runner.cppCompilerPath": "g++", + "C_Cpp_Runner.debuggerPath": "gdb", + "C_Cpp_Runner.cStandard": "", + "C_Cpp_Runner.cppStandard": "", + "C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/VR_NR/Community/VC/Auxiliary/Build/vcvarsall.bat", + "C_Cpp_Runner.useMsvc": false, + "C_Cpp_Runner.warnings": [ + "-Wall", + "-Wextra", + "-Wpedantic", + "-Wshadow", + "-Wformat=2", + "-Wcast-align", + "-Wconversion", + "-Wsign-conversion", + "-Wnull-dereference" + ], + "C_Cpp_Runner.msvcWarnings": [ + "/W4", + "/permissive-", + "/w14242", + "/w14287", + "/w14296", + "/w14311", + "/w14826", + "/w44062", + "/w44242", + "/w14905", + "/w14906", + "/w14263", + "/w44265", + "/w14928" + ], + "C_Cpp_Runner.enableWarnings": true, + "C_Cpp_Runner.warningsAsError": false, + "C_Cpp_Runner.compilerArgs": [], + "C_Cpp_Runner.linkerArgs": [], + "C_Cpp_Runner.includePaths": [], + "C_Cpp_Runner.includeSearch": [ + "*", + "**/*" + ], + "C_Cpp_Runner.excludeSearch": [ + "**/build", + "**/build/**", + "**/.*", + "**/.*/**", + "**/.vscode", + "**/.vscode/**" + ], + "C_Cpp_Runner.useAddressSanitizer": false, + "C_Cpp_Runner.useUndefinedSanitizer": false, + "C_Cpp_Runner.useLeakSanitizer": false, + "C_Cpp_Runner.showCompilationTime": false, + "C_Cpp_Runner.useLinkTimeOptimization": false, + "C_Cpp_Runner.msvcSecureNoWarnings": false +} \ No newline at end of file diff --git a/src/customdesktopmenu.cpp b/src/customdesktopmenu.cpp index 096b2d4..f6f4764 100644 --- a/src/customdesktopmenu.cpp +++ b/src/customdesktopmenu.cpp @@ -65,10 +65,13 @@ QString CustomDesktopMenu::getDefaultConfig() defMenuConfig += "{programs}\n"; defMenuConfig += "[end]\n"; defMenuConfig += "-\n"; - defMenuConfig += "#/usr/share/applications/org.kde.dolphin.desktop\n"; + defMenuConfig += "/usr/share/applications/org.kde.dolphin.desktop\n"; + defMenuConfig += "/usr/share/applications/org.kde.kate.desktop\n"; + defMenuConfig += "#/usr/share/applications/org.kde.kcalc.desktop\n"; defMenuConfig += "-\n"; defMenuConfig += "[menu]\tSystem\tconfigure-shortcuts\n"; defMenuConfig += "{programs}\tSettingsmenu/\n"; + defMenuConfig += "-\n"; defMenuConfig += "{programs}\tSystem/\n"; defMenuConfig += "[end]\n"; defMenuConfig += "[menu]\tExit\tsystem-shutdown\n";