Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebase the master codes #1412

Closed
wants to merge 113 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
d160aae
fix: [search] No results after multiple quick search
Kakueeen Aug 17, 2023
3a0f90d
fix: [Recent] recentfile without monitor
pppanghu77 Aug 16, 2023
f0845fb
fix: [menu] fix issue of search menu
Kakueeen Aug 16, 2023
e1bb242
fix: The wallpaper size does not match the window
Clauszy Aug 16, 2023
9ad6d05
feat: [cifs] version probe and host parse.
itsXuSt Aug 15, 2023
127805c
fix: [dock] encrypted disks missing.
itsXuSt Aug 18, 2023
f4b765b
fix: [property] value not fallback when chmod failed.
itsXuSt Aug 18, 2023
ef80784
fix: [io]Slow display of folder information when multitasking copying…
liyigang1 Aug 17, 2023
46bd03e
fix: [property-dialog] the device name show error.
GongHeng2017 Aug 16, 2023
0b6ad9e
chore: update the baseline version to 6.0.28
max-lvs Aug 18, 2023
e45c342
fix: [property] add translate of property
GongHeng2017 Aug 18, 2023
4a3aed6
fix: [vault] cursor not show wait state.
GongHeng2017 Aug 18, 2023
36e7bca
fix: [fileoperation]open symlink dir issue
Lighto-Ku Aug 18, 2023
e42672e
feat: [audit] add erase log
Johnson-zs Aug 21, 2023
3ab43f6
fix: [property] adjust UI
GongHeng2017 Aug 21, 2023
1f6323f
fix: [vault] the cursor show error
GongHeng2017 Aug 21, 2023
dee0175
fix: [translate] add translate of property dialog.
GongHeng2017 Aug 21, 2023
d6f2634
fix: [crash] If keep refreshing files in the directory, the file mang…
Kakueeen Aug 23, 2023
0a517d3
fix: [property] The close all dialog show error
GongHeng2017 Aug 23, 2023
936ef7f
chore: build version 6.0.29
Johnson-zs Aug 24, 2023
9727a3e
test: [workspace]workspace ut
Lighto-Ku Aug 9, 2023
e5fc34e
fix: [io]Baseline degradation for 1000 file off-disk copy performance…
liyigang1 Aug 22, 2023
dcc9e08
fix: [desktop]dde-desktop new file or folder icon display incorrectly
liyigang1 Aug 23, 2023
6d12e60
fix: [workspace]When the peripheral creates a new file or copies a fi…
liyigang1 Aug 22, 2023
e7909fc
fix: [cifs] daemon crash due to lib name error.
itsXuSt Aug 25, 2023
a8bf037
fix: [vault] the old vault not mv the new path
GongHeng2017 Aug 24, 2023
00c05f7
fix: [fileoperation]open symlink dir issue in trash
Lighto-Ku Aug 23, 2023
672e9d6
fix: [ui] spacing between widgets.
itsXuSt Aug 25, 2023
5474ec5
fix: Operations Group Policy
liyigang1 Aug 25, 2023
28d93bf
fix: [vault] File sorting error in vault
GongHeng2017 Aug 16, 2023
ef21c93
fix: [fileinfo]dde-file-manager crashes
liyigang1 Aug 28, 2023
b12462e
chore: update the baseline version to 6.0.30
max-lvs Aug 28, 2023
99cd94b
fix: Too many logs are output, causing application delays
Kakueeen Aug 29, 2023
74a28d3
fix: [workspace]show hidden files issue
Lighto-Ku Aug 30, 2023
85493c1
fix: [io]Modify the default mode for file operations in group policy …
liyigang1 Aug 31, 2023
35702ab
test: [UT]add ut and at
scx005548 Aug 2, 2023
594d8c9
fix: [workspace]F5 shortcut held down, dde-file-manager crashes
liyigang1 Aug 31, 2023
b2e9c4b
fix: [io]Peripheral paste the same name directory selection coexisten…
liyigang1 Aug 31, 2023
d1a2550
fix: [views] when the computer name is very long,the name field on th…
scx005548 Aug 31, 2023
f9c37f0
fix: [io]Memory leak due to failed asynchronous query for file inform…
liyigang1 Aug 31, 2023
c5bcee6
chore: update the baseline version to 6.0.31
max-lvs Sep 1, 2023
ce1b45a
chore: [log] handle error log for filemanager
Johnson-zs Sep 1, 2023
7312231
fix: [clipboard]dde-file-manager stuck at ctrl+x
liyigang1 Sep 1, 2023
abb0f15
fix: [trash]Files in subdirectories in trash are deleted using the de…
liyigang1 Sep 1, 2023
765fdaf
fix: [device] device is ignored due to partition table.
itsXuSt Sep 4, 2023
9b6b6e0
fix: [device] some device should be displayed and some not.
itsXuSt Sep 5, 2023
a099bd7
fix: [text-preivew] the vertical Scrollbar show
GongHeng2017 Sep 7, 2023
6e9b678
fix: [fileinfo]Incorrect icon for dde-desktop's file
liyigang1 Sep 7, 2023
83dbb1f
chore: [dev] update cache when some properties changed.
itsXuSt Sep 8, 2023
c4dc513
fix: [workspace]view shortcut issue
Lighto-Ku Sep 8, 2023
9946fc5
fix: [computer] enter dirs with key_enter.
itsXuSt Sep 11, 2023
244ed25
fix: [siderbar] the splitter width change some times.
GongHeng2017 Sep 12, 2023
5a4eae9
fix: [shortcut]Add a prompt to use the Delete key to delete files wit…
liyigang1 Sep 7, 2023
8e46d90
fix: never treat mobile device as Data Disk.
hotime Sep 9, 2023
93f1347
chore: [computer] no device usage when launched
itsXuSt Sep 13, 2023
5727621
fix: In higher versions of the QT(5.15), qApp->setActiveWindow cannot…
Kakueeen Sep 5, 2023
bde0398
fix: [server] server crash under pressure test.
itsXuSt Sep 14, 2023
2ff335e
fix: remove -fPIE from generic CXXFLAGS
felixonmars Sep 16, 2023
76ca674
chore: [ut] ut build on v23
Johnson-zs Sep 14, 2023
91523fe
fix: [headless] disbale headless if SIGTERM
Johnson-zs Sep 18, 2023
e30702e
fix: start before kwin
chenchongbiao Aug 8, 2023
4f5d399
fix: [server] start sequence configuration
Johnson-zs Sep 19, 2023
f4892a5
fix: [disk] internal disks no access permisson in some cases.
itsXuSt Sep 20, 2023
5071c53
fix: [io]Deep files in trash, copy and paste to local directory fails
liyigang1 Sep 20, 2023
9e015a5
fix: [disc] some hint issue.
itsXuSt Sep 20, 2023
be655a6
fix: [workspace]view mode issue
Lighto-Ku Sep 20, 2023
340c903
fix: [workspace]show editor issue
Lighto-Ku Sep 20, 2023
010fc5c
fix: [audit] log isn't zh_cn
Johnson-zs Sep 21, 2023
a179844
fix: [io]After sending a folder to the desktop with smb service mount…
liyigang1 Sep 21, 2023
78659b3
Vfeat: [menu] default value of autoAlign on desktop
itsXuSt Sep 21, 2023
d3b38a9
fix: [workspace]New files added to the CD-ROM are deleted with a shor…
liyigang1 Sep 25, 2023
0c4501f
fix: [workspace]Creating a wps file in red disk space doesn't show up…
liyigang1 Sep 25, 2023
f259e7a
feat: [dconf] add `org.deepin.dde.file-manager.plugins.json`
Johnson-zs Jul 18, 2023
c786947
feat: [sidebar/settings] custom settings can be added.
itsXuSt Aug 21, 2023
b72fb10
feat: [computer] support hide user dirs.
itsXuSt Aug 28, 2023
fbe54f0
feat: [setting] reorder the setting items.
itsXuSt Aug 28, 2023
3d23138
chore: [sidebar] remove the 3rd setting entry.
itsXuSt Sep 11, 2023
3503997
fix: [setting] adjust the order of setting items
itsXuSt Sep 13, 2023
5229beb
chore: [translate] update texts
itsXuSt Sep 11, 2023
7f1e532
chore: [translates] update translations
itsXuSt Oct 7, 2023
c95c3e7
fix: [titlebar] Error displayed in view mode
Kakueeen Sep 28, 2023
944eb0f
fix: [titlebar] The copy path is incorrect
Kakueeen Sep 28, 2023
862cabe
fix: [ddailog] fix ddailog modal bug in wayland
pppanghu77 Oct 8, 2023
195fcab
fix: [device] Inaccurate optical disc capacity
Johnson-zs Oct 8, 2023
124ae20
fix: file item name label display issue
Lighto-Ku Oct 8, 2023
b4fc964
fix: [trash]Read-only empty directory, deletion prompts insufficient …
liyigang1 Sep 27, 2023
31dcc00
fix: [io]Non-empty folders in virtual paths, incorrect file informati…
liyigang1 Sep 28, 2023
baa3abe
fix: [io]The red disk monitor is not working.
liyigang1 Oct 12, 2023
4b8780d
fix: [io/cut]Modifying the cut file process
liyigang1 Sep 26, 2023
ffd77fc
fix: remove unused jemalloc from debian/control
felixonmars Sep 18, 2023
307c329
chore: use pkgconfig to check mount
wineee Sep 25, 2023
600e26f
chore: fix a typo in error message
felixonmars Sep 27, 2023
843d301
fix: remove unused gio-qt
felixonmars Sep 21, 2023
8ef13ec
fix: [preview] rar files cannot be previewed.
itsXuSt Oct 15, 2023
cd385ef
feat: [desktop] custom watermask
N0rthHXD Aug 17, 2023
890d779
feat: custom watermask
N0rthHXD Aug 18, 2023
3a1b81d
feat: [desktop] custom watermask
N0rthHXD Aug 17, 2023
f90fce9
feat: [desktop] custom watermask
N0rthHXD Aug 18, 2023
53fa21b
feat: [desktop] The dconfig flags of watermask change
N0rthHXD Aug 17, 2023
a1f7b7a
fix: [preview] In some cases, the close button is not clearly visible.
GongHeng2017 Oct 13, 2023
c1c08df
fix: [smb] cannot connect when port 445 disabled.
itsXuSt Oct 15, 2023
0f4ef16
fix: [loop chmod] disable chmod for loop devices
itsXuSt Oct 17, 2023
65b5ee6
fix: [workspace]save file in qtcreator issue
Lighto-Ku Oct 17, 2023
001c963
feat: add interfaces `AbstractEntryFileEntity`
Johnson-zs Oct 18, 2023
0461055
fix: [extension] ext emblem icon cannot changed
Johnson-zs Oct 18, 2023
f6a9db7
fix: [workspace]file sort issue
Lighto-Ku Oct 18, 2023
2b8c065
fix: [detail]unexpected log in detail widget
Lighto-Ku Oct 19, 2023
91ab5aa
fix: [io]Copying a file to a USB flash drive, the file occasionally f…
liyigang1 Oct 17, 2023
b1f553f
chore: [computer] move the EntryOrder into entity class
itsXuSt Oct 19, 2023
3e65de5
fix: [io]dde-desktop blinks when unplugging or plugging in a USB flas…
liyigang1 Oct 20, 2023
d9bfe2e
fix: [io]Select different disks successively to right-click on them t…
liyigang1 Oct 19, 2023
7a6fa6c
feat: Network Neighborhood feature blocking
liyigang1 Oct 19, 2023
fd602bc
feat: [menu] conf menu can be inserted into existed menu
itsXuSt Sep 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(CMAKE_AUTOUIC ON)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wl,--as-need -fPIE")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wl,--as-needed")

#安全加固
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-all -Werror=return-type")
Expand Down
28 changes: 28 additions & 0 deletions assets/configs/org.deepin.dde.file-manager.computer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"magic":"dsg.config.meta",
"version":"1.0",
"contents":{
"hideMyDirectories":{
"value": false,
"serial":0,
"flags":[],
"name":"Hide My Directories on the Computer page",
"name[zh_CN]":"计算机工作区隐藏我的目录",
"description[zh_CN]":"计算机工作区隐藏我的目录",
"description":"Hide My Directories on the Computer page",
"permissions":"readwrite",
"visibility":"public"
},
"hide3rdEntries":{
"value": false,
"serial":0,
"flags":[],
"name":"Hide 3rd party entries on the Computer page",
"name[zh_CN]":"计算机工作区隐藏第三方插件",
"description[zh_CN]":"计算机工作区隐藏第三方插件",
"description":"Hide 3rd party entries on the Computer page",
"permissions":"readwrite",
"visibility":"public"
}
}
}
83 changes: 83 additions & 0 deletions assets/configs/org.deepin.dde.file-manager.desktop.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"magic": "dsg.config.meta",
"version": "1.0",
"contents": {
"autoAlign": {
"value": -1,
"serial": 0,
"flags": [],
"name": "Enable auto align on desktop",
"name[zh_CN]": "启用桌面自动排列",
"description[zh_CN]": "用于控制是否启用桌面自动排列",
"description": "It's used to control whether the auto align on desktop is enabled.",
"permissions": "readwrite",
"visibility": "public"
},
"maskLogoUri": {
"value": "",
"serial": 0,
"flags": [],
"name": "WaterMask Uri",
"name[zh_CN]": "水印路径",
"description[zh_CN]": "水印图片路径",
"description": "Watermask logo uri.",
"permissions": "readwrite",
"visibility": "public"
},
"maskOffsetX": {
"value": 0,
"serial": 0,
"flags": [],
"name": "Horizontal Offset",
"name[zh_CN]": "水平偏移",
"description[zh_CN]": "相对系统水印左上角的水平偏移距离,左为负值,右为正值",
"description": "The horizontal offset distance relative to the topleft of the system watermark, the right is a plus, and the left is a reduce",
"permissions": "readwrite",
"visibility": "public"
},
"maskOffsetY": {
"value": 0,
"serial": 0,
"flags": [],
"name": "Vertical Offset",
"name[zh_CN]": "垂直偏移",
"description[zh_CN]": "相对系统水印左上角的竖直偏移距离,上为负值,下为正值",
"description": "The vertical offset distance relative to the topleft of the system watermark, the up is a plus, and the down is a reduce",
"permissions": "readwrite",
"visibility": "public"
},
"maskWidth": {
"value": 114,
"serial": 0,
"flags": [],
"name": "Width",
"name[zh_CN]": "宽度",
"description[zh_CN]": "水印图片的宽度",
"description": "Watermask width",
"permissions": "readwrite",
"visibility": "public"
},
"maskHeight": {
"value": 14,
"serial": 0,
"flags": [],
"name": "Height",
"name[zh_CN]": "高度",
"description[zh_CN]": "水印图片高度",
"description": "Watermask height",
"permissions": "readwrite",
"visibility": "public"
},
"enableMask": {
"value": false,
"serial": 0,
"flags": [],
"name": "Enable WaterMask",
"name[zh_CN]": "启用水印",
"description[zh_CN]": "用于开启/隐藏水印",
"description": "It's used to control whether to enable the WaterMask.",
"permissions": "readwrite",
"visibility": "public"
}
}
}
11 changes: 11 additions & 0 deletions assets/configs/org.deepin.dde.file-manager.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,17 @@
"description":"Size used to determine whether a file is a large file during copying",
"permissions":"readwrite",
"visibility":"private"
},
"dfm.iterator.allasync": {
"value":true,
"serial":0,
"flags":[],
"name":"Async Iteration",
"name[zh_CN]":"异步迭代文件",
"description[zh_CN]":"用于判断是否所以目录都使用异步迭代方式加载文件",
"description":"Used to determine if all directories use async iteration to load files",
"permissions":"readwrite",
"visibility":"private"
}
}
}
28 changes: 28 additions & 0 deletions assets/configs/org.deepin.dde.file-manager.operations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"magic":"dsg.config.meta",
"version":"1.0",
"contents":{
"file.operation.bigfilesize": {
"value":"83886080",
"serial":0,
"flags":[],
"name":"Big File",
"name[zh_CN]":"大文件大小",
"description[zh_CN]":"用于拷贝时判断文件是否是大文件的size,默认是80MB,value的单位是byte",
"description":"Size used to determine whether a file is a large file during copying,the default is 80MB,The unit of value is byte",
"permissions":"readwrite",
"visibility":"private"
},
"file.operation.blockeverysync": {
"value":false,
"serial":0,
"flags":[],
"name":"Safe synchronization mode",
"name[zh_CN]":"安全同步模式",
"description[zh_CN]":"安全同步模式是拷贝到外设块设备时,每次写入执行同步到设备。高性能模式是拷贝到外设块设备时,每个任务完成后在进行同步到设备。默认是高性能模式(即关闭安全同步模式)。",
"description":"Safe synchronization mode is when copying to a peripheral block device, synchronize to the device for each write. High-performance mode is to synchronize to the device after each task is completed when copying to a peripheral block device.Default is high performance mode (i.e. turn off safe synchronization mode).",
"permissions":"readwrite",
"visibility":"private"
}
}
}
69 changes: 69 additions & 0 deletions assets/configs/org.deepin.dde.file-manager.plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"magic": "dsg.config.meta",
"version": "1.0",
"contents": {
"filemanager.blackList": {
"value": [],
"serial": 0,
"flags": [],
"name": "dde-file-manager plugin blacklist",
"name[zh_CN]": "文件管理器插件黑名单列表",
"description[zh_CN]": "文件管理器插件黑名单列表,黑名单中的插件将无法被启用",
"description": "List of plugins disabled by the dde-file-manager, blacklisted plugins will not be enabled",
"permissions": "readwrite",
"visibility": "public"
},
"desktop.blackList": {
"value": [],
"serial": 0,
"flags": [],
"name": "dde-desktop plugins blacklist",
"name[zh_CN]": "桌面插件黑名单列表",
"description[zh_CN]": "桌面插件黑名单列表,黑名单中的插件将无法被启用",
"description": "List of plugins disabled by the dde-desktop, plugins in the blacklist will not be able to be enabled",
"permissions": "readwrite",
"visibility": "public"
},
"server.blackList": {
"value": [],
"serial": 0,
"flags": [],
"name": "dde-file-manager-server plugins blacklist",
"name[zh_CN]": "文件管理器用户服务插件黑名单列表",
"description[zh_CN]": "文件管理器用户服务插件黑名单列表,黑名单中的插件将无法被启用",
"description": "List of plugins disabled by the dde-file-manager-server, plugins in the blacklist will not be able to be enabled",
"permissions": "readwrite",
"visibility": "public"
},
"daemon.blackList": {
"value": [],
"serial": 0,
"flags": [],
"name": "dde-file-manager-daemon plugins blacklist",
"name[zh_CN]": "文件管理器守护进程插件黑名单列表",
"description[zh_CN]": "文件管理器守护进程插件黑名单列表,黑名单中的插件将无法被启用",
"description": "List of plugins disabled by the dde-file-manager-daemon, plugins in the blacklist will not be able to be enabled",
"permissions": "readwrite",
"visibility": "public"
},
"filedialog.blackList": {
"value": ["dfmplugin-burn",
"dfmplugin-dirshare",
"dfmplugin-myshares",
"dfmplugin-propertydialog",
"dfmplugin-trashcore",
"dfmplugin-trash",
"dfmplugin-filepreview",
"dfmplugin-vault",
"dfmplugin-phone" ],
"serial": 0,
"flags": [],
"name": "dde-file-dialog plugins blacklist",
"name[zh_CN]": "文件管理器文件选择对话框插件黑名单列表",
"description[zh_CN]": "文件管理器文件选择对话框插件黑名单列表,黑名单中的插件将无法被启用",
"description": "List of plugins disabled by the dde-file-dialog, plugins in the blacklist will not be able to be enabled",
"permissions": "readwrite",
"visibility": "public"
}
}
}
24 changes: 24 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
dde-file-manager (6.0.31) unstable; urgency=medium

* update file manager baseline version to V6.0.31

-- lvwujun <[email protected]> Fri, 1 Sep 2023 10:16:23 +0800

dde-file-manager (6.0.30) unstable; urgency=medium

* update file manager baseline version to V6.0.30

-- lvwujun <[email protected]> Mon, 28 Aug 2023 15:23:11 +0800

dde-file-manager (6.0.29) unstable; urgency=medium

* update file manager baseline version to V6.0.29

-- zhangsheng <[email protected]> Thu, 24 Aug 2023 10:22:04 +0800

dde-file-manager (6.0.28) unstable; urgency=medium

* update file manager baseline version to V6.0.28

-- lvwujun <[email protected]> Fri, 18 Aug 2023 14:29:09 +0800

dde-file-manager (6.0.27) unstable; urgency=medium

* update file manager baseline version to V6.0.27 that fixed some bugs
Expand Down
1 change: 0 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ Depends:
${misc:Depends},
libdde-file-manager,
libgio-qt,
libjemalloc2,
libqt5xdg3,
socat,
cryfs,
Expand Down
1 change: 0 additions & 1 deletion debian/dde-file-manager.install
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ usr/lib/systemd/user/
etc/dbus-1/system.d/com.deepin.filemanager.daemon.conf
etc/X11/Xsession.d/99dfm-dlnfs-automount
etc/deepin/dde-file-manager/dfm-dlnfs-automount
etc/xdg/autostart
15 changes: 10 additions & 5 deletions include/dfm-base/base/schemefactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ class InfoFactory final : public SchemeFactory<FileInfo>
const Global::CreateFileInfoType type = Global::CreateFileInfoType::kCreateFileInfoAuto,
QString *errorString = nullptr)
{
if (!url.isValid()) {
qWarning() << "url is invalid !!! url = " << url;
return nullptr;
}

if (InfoCacheController::instance().cacheDisable(url.scheme()))
return qSharedPointerDynamicCast<T>(instance().SchemeFactory<FileInfo>::
create(url, errorString));
Expand All @@ -223,7 +228,7 @@ class InfoFactory final : public SchemeFactory<FileInfo>
auto info = qSharedPointerDynamicCast<T>(instance().SchemeFactory<FileInfo>::
create(Global::Scheme::kAsyncFile, url, errorString));
if (info)
info->refresh();
info->updateAttributes();
return info;
}
}
Expand All @@ -232,10 +237,10 @@ class InfoFactory final : public SchemeFactory<FileInfo>
if (!info) {
auto tarScheme = scheme(url);
info = instance().SchemeFactory<FileInfo>::create(tarScheme, url, errorString);
if (info && tarScheme == Global::Scheme::kAsyncFile) {
info->refresh();
emit InfoCacheController::instance().cacheFileInfo(url, info);
}
if (info && tarScheme == Global::Scheme::kAsyncFile)
info->updateAttributes();

emit InfoCacheController::instance().cacheFileInfo(url, info);
}

if (!info)
Expand Down
4 changes: 3 additions & 1 deletion include/dfm-base/dfm_global_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ enum ItemRoles {
kItemFileOriginalPath = Qt::UserRole + 23,
kItemFileDeletionDate = Qt::UserRole + 24,
kItemFileRefreshIcon = Qt::UserRole + 25,
kItemFileIsAvailableRole = Qt::UserRole + 26, // the item gray display and can not select
kItemFileIsAvailableRole = Qt::UserRole + 26, // the item gray display and can not select
kItemFileIsDirRole = Qt::UserRole + 27,
kItemFileIsWritableRole = Qt::UserRole + 28,
kItemFileCanRenameRole = Qt::UserRole + 29,
Expand Down Expand Up @@ -127,6 +127,8 @@ inline constexpr char kTypeTextXPython[] { "text/x-python" };
inline constexpr char kTypeTextPlain[] { "text/plain" };
inline constexpr char kTypeAppXOleStorage[] { "application/x-ole-storage" };
inline constexpr char kTypeAppZip[] { "application/zip" };
inline constexpr char kTypeArchiveRAR[] { "application/vnd.rar" };
inline constexpr char kTypeAppRAR[] { "application/rar" };
inline constexpr char kTypeAppXDesktop[] { "application/x-desktop" };
// image
inline constexpr char kTypeImageIef[] { "image/ief" };
Expand Down
Loading
Loading