Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
*.user
.cursor/*
.cache/*
.claude/*
build/*
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
dde-device-formatter (0.0.1.18) unstable; urgency=medium

* take disk ownership after formatted.
*
*

-- XuShitong <xushitong@uniontech.com> Sat, 26 Jul 2025 15:52:40 +0800

dde-device-formatter (0.0.1.17) unstable; urgency=medium

* Auto mount after device been formatted.
Expand Down
2 changes: 1 addition & 1 deletion view/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void MainWindow::formatDevice()
return;
}
}
QVariantMap opt = { { "label", m_mainPage->getLabel() } };
QVariantMap opt = { { "label", m_mainPage->getLabel() }, { "take-ownership", true } };
if (m_mainPage->shouldErase()) opt["erase"] = "zero";
blk->format(m_mainPage->getSelectedFs(), opt);
QDBusError lastError = blk->lastError();
Expand Down
Loading