mirror of https://github.com/PCSX2/pcsx2.git
Qt: Remove NTFS compression checkbox on Linux/Mac
This commit is contained in:
parent
c5a9ce6b56
commit
c3afaae169
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2002-2023 PCSX2 Dev Team
|
||||
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
|
||||
// SPDX-License-Identifier: LGPL-3.0+
|
||||
|
||||
#include "common/FileSystem.h"
|
||||
|
@ -36,7 +36,13 @@ MemoryCardCreateDialog::MemoryCardCreateDialog(QWidget* parent /* = nullptr */)
|
|||
connect(m_ui.buttonBox->button(QDialogButtonBox::RestoreDefaults), &QPushButton::clicked, this, &MemoryCardCreateDialog::restoreDefaults);
|
||||
|
||||
#ifndef _WIN32
|
||||
m_ui.ntfsCompression->setEnabled(false);
|
||||
m_ui.ntfsCompressionLayout->removeWidget(m_ui.ntfsCompression);
|
||||
safe_delete(m_ui.ntfsCompression);
|
||||
m_ui.ntfsCompressionLayout->removeWidget(m_ui.ntfsCompressionLabel);
|
||||
safe_delete(m_ui.ntfsCompressionLabel);
|
||||
m_ui.mainLayout->removeItem(m_ui.ntfsCompressionLayout);
|
||||
safe_delete(m_ui.ntfsCompressionLayout);
|
||||
resize(600, 480);
|
||||
#endif
|
||||
|
||||
updateState();
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>593</width>
|
||||
<height>545</height>
|
||||
<width>600</width>
|
||||
<height>535</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
@ -16,13 +16,13 @@
|
|||
<property name="modal">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_9">
|
||||
<layout class="QVBoxLayout" name="mainLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1">
|
||||
<property name="bottomMargin">
|
||||
<property name="spacing">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<property name="bottomMargin">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<item>
|
||||
|
@ -39,8 +39,8 @@
|
|||
<height>48</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="resources/resources.qrc">:/icons/black/svg/memcard-line.svg</pixmap>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../resources/resources.qrc">:/icons/black/svg/memcard-line.svg</pixmap>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
|
@ -227,7 +227,7 @@
|
|||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_8">
|
||||
<layout class="QVBoxLayout" name="ntfsCompressionLayout">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="ntfsCompression">
|
||||
<property name="text">
|
||||
|
@ -239,7 +239,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_10">
|
||||
<widget class="QLabel" name="ntfsCompressionLabel">
|
||||
<property name="text">
|
||||
<string>NTFS compression is built-in, fast, and completely reliable. Typically compresses Memory Cards (highly recommended).</string>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue