From 537b081353a655778e1e0c5e2e6cff90d3142219 Mon Sep 17 00:00:00 2001 From: uncor3 Date: Thu, 20 Nov 2025 04:05:54 +0000 Subject: [PATCH] update styles & fix a broken path in fileexplorerwidget --- src/devicependingwidget.cpp | 3 +++ src/devicesidebarwidget.cpp | 2 +- src/fileexplorerwidget.cpp | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/devicependingwidget.cpp b/src/devicependingwidget.cpp index 9b41114..8386a5e 100644 --- a/src/devicependingwidget.cpp +++ b/src/devicependingwidget.cpp @@ -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); diff --git a/src/devicesidebarwidget.cpp b/src/devicesidebarwidget.cpp index e7760da..c140707 100644 --- a/src/devicesidebarwidget.cpp +++ b/src/devicesidebarwidget.cpp @@ -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(); diff --git a/src/fileexplorerwidget.cpp b/src/fileexplorerwidget.cpp index 5565d04..32da91a 100644 --- a/src/fileexplorerwidget.cpp +++ b/src/fileexplorerwidget.cpp @@ -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));