Skip to content

Commit

Permalink
Remove icons from buttons since they don't work cross-platform and wo…
Browse files Browse the repository at this point in the history
…rk inconsistently even on Linux
  • Loading branch information
nikkiwritescode committed Jun 26, 2024
1 parent c9b9348 commit b178a9d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
9 changes: 0 additions & 9 deletions preferencesdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,6 @@
<property name="text">
<string>Clear Network Cache</string>
</property>
<property name="icon">
<iconset theme="user-trash-full"/>
</property>
</widget>
</item>
<item>
Expand Down Expand Up @@ -490,19 +487,13 @@
<property name="text">
<string>Reset</string>
</property>
<property name="icon">
<iconset theme="view-refresh"/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="updateCacheDirectoryButton">
<property name="text">
<string>Change</string>
</property>
<property name="icon">
<iconset theme="folder-open"/>
</property>
</widget>
</item>
<item>
Expand Down
2 changes: 0 additions & 2 deletions quicksetupdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,11 @@ QuickSetupDialog::QuickSetupDialog(const QString &defaultMarkerCode, bool defaul


exportToWbfsIso = new QPushButton("Export to File");
exportToWbfsIso->setIcon(QIcon::fromTheme("drive-optical"));
exportToWbfsIso->setEnabled(false);
exportToWbfsIso->setDefault(true);
ui->buttonBox->addButton(exportToWbfsIso, QDialogButtonBox::AcceptRole);

exportToExtractedFolder = new QPushButton("Export to Folder");
exportToExtractedFolder->setIcon(QIcon::fromTheme("folder-open"));
exportToExtractedFolder->setEnabled(false);
ui->buttonBox->addButton(exportToExtractedFolder, QDialogButtonBox::AcceptRole);

Expand Down
16 changes: 2 additions & 14 deletions quicksetupdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,13 @@
<property name="text">
<string>Choose File</string>
</property>
<property name="icon">
<iconset theme="drive-optical"/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="chooseInputGameFolder">
<property name="text">
<string>Choose Folder</string>
</property>
<property name="icon">
<iconset theme="folder-open"/>
</property>
</widget>
</item>
</layout>
Expand Down Expand Up @@ -112,20 +106,14 @@
<item>
<widget class="QPushButton" name="addModZip">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="list-add"/>
<string>+</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="removeModZip">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="list-remove"/>
<string>-</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit b178a9d

Please sign in to comment.