update styles & fix a broken path in fileexplorerwidget

This commit is contained in:
uncor3
2025-11-20 04:05:54 +00:00
parent 131f67ad45
commit 537b081353
3 changed files with 7 additions and 4 deletions
+3
View File
@@ -35,6 +35,9 @@ DevicePendingWidget::DevicePendingWidget(bool locked, QWidget *parent)
this);
m_label->setWordWrap(true);
m_label->setAlignment(Qt::AlignCenter);
QFont font = m_label->font();
font.setPointSize(18);
m_label->setFont(font);
layout->addWidget(m_label);
m_imageLabel = new ResponsiveQLabel(this);
+1 -1
View File
@@ -410,7 +410,7 @@ DevicePendingSidebarItem::DevicePendingSidebarItem(const QString &udid,
layout->setSpacing(1);
QProcessIndicator *spinner = new QProcessIndicator(this);
spinner->setFixedSize(32, 32);
spinner->setFixedSize(26, 26);
spinner->setType(QProcessIndicator::line_rotate);
spinner->start();
+3 -3
View File
@@ -117,10 +117,10 @@ void FileExplorerWidget::setupSidebar()
QTreeWidgetItem *wallpapersItem = new QTreeWidgetItem(commonPlacesItem);
QVariantMap dataMap;
dataMap["path"] = "../../../var/mobile/Library/Wallpapers";
dataMap["alias"] = "Wallpapers";
dataMap["path"] = "/DCIM";
dataMap["alias"] = "Pictures";
dataMap["afc2"] = false;
wallpapersItem->setText(0, "Wallpapers");
wallpapersItem->setText(0, "Pictures");
wallpapersItem->setIcon(0, QIcon::fromTheme("image-x-generic"));
wallpapersItem->setData(0, Qt::UserRole, QVariant::fromValue(dataMap));