Skip to content

Commit

Permalink
Added icons to settings window
Browse files Browse the repository at this point in the history
  • Loading branch information
juliagoda committed Sep 30, 2023
1 parent f902f4e commit c0fa388
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1 deletion.
Binary file modified resources/icons/general-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/icons/logs-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/icons/package-info-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/icons/previews-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/pak-gui.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<file>icons/general-settings.png</file>
<file>icons/logs-settings.png</file>
<file>icons/package-info-settings.png</file>
<file>icons/previews-settings.png</file>
<file>waiting.gif</file>
<file>waiting-small.gif</file>
</qresource>
Expand Down
2 changes: 1 addition & 1 deletion src/src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void Settings::init(MainWindow* main_window)
QPointer<QWidget> logs_page = new QWidget;
logs_settings.setupUi(logs_page);
addPage(general_page, i18nc("@title:tab", "General"), QStringLiteral(":/icons/general-settings.png"));
addPage(previews_appearance_page, i18nc("@title:tab", "Previews appearance"), QStringLiteral(":/icons/general-settings.png"));
addPage(previews_appearance_page, i18nc("@title:tab", "Previews appearance"), QStringLiteral(":/icons/previews-settings.png"));
addPage(packages_info_page, i18nc("@title:tab", "Packages informations"), QStringLiteral(":/icons/package-info-settings.png"));
addPage(logs_page, i18nc("@title:tab", "Logs"), QStringLiteral(":/icons/logs-settings.png"));
connect(this, &Settings::settingsChanged, main_window, &MainWindow::startSystemTray);
Expand Down

0 comments on commit c0fa388

Please sign in to comment.