Skip to content

Commit

Permalink
fix build failed error and fix gnome shotcut problem
Browse files Browse the repository at this point in the history
  • Loading branch information
tangramor committed Sep 10, 2023
1 parent 9911356 commit 1df4276
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/cceditor/ccnotepad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5347,7 +5347,7 @@ void hide_file(const QString& szFile)
//isBakWrite 是否写保护swp文件,默认true。只有新文件时不需要,因为新文件不存在覆盖写的问题
//isStatic 是否静默:不弹出对话框,在外部批量查找替换文件夹时使用,避免弹窗中断。默认false
//isClearSwpFile:是否回收swp交换文件,在外部批量查找替换文件夹时使用,替换后直接删除swp文件。默认false
bool CCNotePad::saveFile(QString fileName, ScintillaEditView* pEdit, bool isBakWrite, bool isStatic,bool /*isClearSwpFile*/)
bool CCNotePad::saveFile(QString fileName, ScintillaEditView* pEdit, bool isBakWrite, bool isStatic, bool isClearSwpFile)
{
QFile srcfile(fileName);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[Desktop Entry]
Version=1.0
Name=Notepad--
Name[zh_CN]=Notepad--
Comment=Notepad-- 是一个国产跨平台、简单的文本编辑器。
Name=NotePad--
Name[zh_CN]=NotePad--
Comment=NotePad-- 是一个国产跨平台、简单的文本编辑器。
Type=Application
Exec=notepad-- %F
Icon=notepad--
Exec=NotePad-- %F
Icon=/usr/share/icons/hicolor/128x128/apps/notepad--.png
Categories=Development;Office;
Terminal=false
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-patch;text/x-adasrc;text/x-chdr;text/x-csrc;text/css;application/x-desktop;text/x-patch;text/x-fortran;text/html;text/x-java;text/x-tex;text/x-makefile;text/x-objcsrc;text/x-pascal;application/x-perl;application/x-perl;application/x-php;text/vnd.wap.wml;text/x-python;application/x-ruby;text/sgml;application/xml;model/vrml;image/svg+xml;application/json;
Expand Down

0 comments on commit 1df4276

Please sign in to comment.