Skip to content

Commit

Permalink
fix: 回收站瓢了
Browse files Browse the repository at this point in the history
adjust: 默认启动标题栏编辑
  • Loading branch information
shenmo7192 committed Sep 22, 2024
1 parent 2b4a03f commit 0b3a7b1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dde-desktop/config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Config::Config()
{
auto configPath = QStandardPaths::standardLocations(QStandardPaths::ConfigLocation).first();
configPath = configPath
+ "/" + QApplication::organizationName()
+ "/" + QApplication::applicationName()
+ "/" + QApplication::applicationName() + ".conf";
+ "/" + QApplication::organizationName()
+ "/" + QApplication::applicationName()
+ "/" + QApplication::applicationName() + ".conf";

qDebug() << configPath;

Expand Down
3 changes: 2 additions & 1 deletion dde-file-manager-lib/configure/dde-file-manager.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"ShowRecentFileEntry": true,
"ShowedFileSuffixOnRename": true,
"DisableNonRemovableDeviceUnmount": false,
"HiddenSystemPartition": false
"HiddenSystemPartition": false,
"ShowCsdCrumbBarClickableArea":true
},
"AnythingMonitorFilterPath": {
"WhiteList":[
Expand Down
2 changes: 1 addition & 1 deletion dde-file-manager-lib/dialogs/basedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ BaseDialog::BaseDialog(QWidget *parent) : DAbstractDialog(parent)
{
m_titlebar = new DTitlebar(this);
m_titlebar->setBackgroundTransparent(true);
// m_titlebar->setWindowFlags(Qt::WindowCloseButtonHint | Qt::WindowTitleHint);
//m_titlebar->setWindowFlags(Qt::WindowCloseButtonHint | Qt::WindowTitleHint);
}

BaseDialog::~BaseDialog()
Expand Down
2 changes: 1 addition & 1 deletion dde-file-manager-lib/dialogs/trashpropertydialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void TrashPropertyDialog::initUI()
mainLayout->setContentsMargins(10, 10, 10, 10);
contenFrame->setLayout(mainLayout);

addContent(contenFrame);
addContent(contenFrame,Qt::AlignCenter);

startComputerFolderSize(m_url);
}
Expand Down

0 comments on commit 0b3a7b1

Please sign in to comment.