Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
KPMCore
Commits
e58ab02b
Commit
e58ab02b
authored
Jan 01, 2022
by
Andrius Štikonas
Browse files
Add support for copying unknown partitions.
BUG: 447784
parent
d2fb56bc
Pipeline
#116872
passed with stage
in 1 minute and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/fs/unknown.cpp
View file @
e58ab02b
...
...
@@ -13,6 +13,7 @@ namespace FS
{
FileSystem
::
CommandSupportType
unknown
::
m_Move
=
FileSystem
::
cmdSupportCore
;
FileSystem
::
CommandSupportType
unknown
::
m_Copy
=
FileSystem
::
cmdSupportCore
;
unknown
::
unknown
(
qint64
firstsector
,
qint64
lastsector
,
qint64
sectorsused
,
const
QString
&
label
,
const
QVariantMap
&
features
)
:
FileSystem
(
firstsector
,
lastsector
,
sectorsused
,
label
,
features
,
FileSystem
::
Type
::
Unknown
)
...
...
src/fs/unknown.h
View file @
e58ab02b
...
...
@@ -37,7 +37,12 @@ public:
return
m_Move
;
}
CommandSupportType
supportCopy
()
const
override
{
return
m_Copy
;
}
static
CommandSupportType
m_Move
;
static
CommandSupportType
m_Copy
;
};
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment