From 8f89bf64025c3359f7cfe0fc5512ba91bb811313 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 18 Feb 2024 14:24:20 +0100 Subject: [PATCH] Replace tabs with spaces --- 3rdparty/getopt/getopt.cpp | 6 +++--- README.md | 6 +++--- data/icons.qrc | 4 ++-- src/core/song.cpp | 2 +- src/globalshortcuts/keymapper_x11.h | 2 +- src/playlist/dynamicplaylistcontrols.ui | 6 +++--- src/playlist/playlistsequence.cpp | 12 ++++++------ 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3rdparty/getopt/getopt.cpp b/3rdparty/getopt/getopt.cpp index d1e7935e..f4089735 100644 --- a/3rdparty/getopt/getopt.cpp +++ b/3rdparty/getopt/getopt.cpp @@ -62,7 +62,7 @@ enum ENUM_ORDERING { // // -// Ansi structures and functions follow +// Ansi structures and functions follow // // @@ -409,7 +409,7 @@ int _getopt_long_only_r_a(int argc, char *const *argv, const char *options, cons // // -// Unicode Structures and Functions +// Unicode Structures and Functions // // @@ -750,4 +750,4 @@ int _getopt_long_r_w(int argc, wchar_t *const *argv, const wchar_t *options, con int _getopt_long_only_r_w(int argc, wchar_t *const *argv, const wchar_t *options, const struct option_w *long_options, int *opt_index, struct _getopt_data_w *d); int _getopt_long_only_r_w(int argc, wchar_t *const *argv, const wchar_t *options, const struct option_w *long_options, int *opt_index, struct _getopt_data_w *d) { return _getopt_internal_r_w(argc, argv, options, long_options, opt_index, 1, d, 0); -} \ No newline at end of file +} diff --git a/README.md b/README.md index d75d76ff..eab2d734 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Resources: * We do not take feature requests from users on GitHub. Any issues related to feature requests will be closed. This does not necessarily mean that we won't add new features, but we don't have time to take feature requests or answer questions about new features from users. It is still possible to suggest or discuss new features on the forum (https://forum.strawberrymusicplayer.org/). * We do not maintain the Flatpak package. Do not report issues related to Flatpak unless the issue can be reproduced with a native package, use Flatpak support instead https://flatpak.org/about/ -### :moneybag: Sponsoring +### :moneybag: Sponsoring The program is free software, released under GPL. If you like this program and can make use of it, consider sponsoring or donating to help fund the project. There are currently 4 options for sponsoring: @@ -97,7 +97,7 @@ Optional dependencies: You should also install the gstreamer plugins base and good, and optionally bad, ugly and libav to support all audio formats. -### :wrench: Compiling from source +### :wrench: Compiling from source ### Get the code: @@ -118,6 +118,6 @@ Strawberry is backwards compatible with Qt 5, to compile with Qt 5 use: To compile on Windows with Visual Studio 2019 or 2022, see https://github.com/strawberrymusicplayer/strawberry-msvc -### :penguin: Packaging status +### :penguin: Packaging status [![Packaging status](https://repology.org/badge/vertical-allrepos/strawberry.svg?exclude_unsupported=1)](https://repology.org/metapackage/strawberry/versions) diff --git a/data/icons.qrc b/data/icons.qrc index 59e94625..847f5c96 100644 --- a/data/icons.qrc +++ b/data/icons.qrc @@ -290,8 +290,8 @@ icons/48x48/moodbar.png icons/48x48/love.png icons/48x48/subsonic.png - icons/48x48/tidal.png - icons/48x48/qobuz.png + icons/48x48/tidal.png + icons/48x48/qobuz.png icons/48x48/multimedia-player-ipod-standard-black.png icons/48x48/radio.png icons/48x48/somafm.png diff --git a/src/core/song.cpp b/src/core/song.cpp index f8402d02..b5630e59 100644 --- a/src/core/song.cpp +++ b/src/core/song.cpp @@ -136,7 +136,7 @@ const QStringList Song::kColumns = QStringList() << "title" << "ebur128_integrated_loudness_lufs" << "ebur128_loudness_range_lu" - ; + ; const QString Song::kColumnSpec = Song::kColumns.join(", "); const QString Song::kBindSpec = Utilities::Prepend(":", Song::kColumns).join(", "); diff --git a/src/globalshortcuts/keymapper_x11.h b/src/globalshortcuts/keymapper_x11.h index f00afc29..0e9fbbac 100644 --- a/src/globalshortcuts/keymapper_x11.h +++ b/src/globalshortcuts/keymapper_x11.h @@ -223,7 +223,7 @@ static const QMap keymapper_x11_ = { // clazy:exclude=non-pod { Qt::Key_MediaPrevious, XF86XK_AudioPrev }, { Qt::Key_MediaNext, XF86XK_AudioNext }, { Qt::Key_MediaRecord, XF86XK_AudioRecord }, - { Qt::Key_MediaPause, XF86XK_AudioPause }, + { Qt::Key_MediaPause, XF86XK_AudioPause }, { Qt::Key_HomePage, XF86XK_HomePage }, { Qt::Key_Favorites, XF86XK_Favorites }, { Qt::Key_Search, XF86XK_Search }, diff --git a/src/playlist/dynamicplaylistcontrols.ui b/src/playlist/dynamicplaylistcontrols.ui index 3ad3e8cb..bd6585c6 100644 --- a/src/playlist/dynamicplaylistcontrols.ui +++ b/src/playlist/dynamicplaylistcontrols.ui @@ -12,17 +12,17 @@ #container { - background: rgba(200, 200, 200, 50%); + background: rgba(200, 200, 200, 50%); border-radius: 10px; border: 1px solid rgba(200, 200, 200, 75%); } #label1 { - font-weight: bold; + font-weight: bold; } #label2 { - font-size: 7.5pt; + font-size: 7.5pt; } diff --git a/src/playlist/playlistsequence.cpp b/src/playlist/playlistsequence.cpp index 207d0689..bcb7bb98 100644 --- a/src/playlist/playlistsequence.cpp +++ b/src/playlist/playlistsequence.cpp @@ -171,7 +171,7 @@ void PlaylistSequence::SetRepeatMode(const RepeatMode mode) { case RepeatMode::Album: ui_->action_repeat_album->setChecked(true); break; case RepeatMode::Playlist: ui_->action_repeat_playlist->setChecked(true); break; case RepeatMode::OneByOne: ui_->action_repeat_onebyone->setChecked(true); break; - case RepeatMode::Intro: ui_->action_repeat_intro->setChecked(true); break; + case RepeatMode::Intro: ui_->action_repeat_intro->setChecked(true); break; } @@ -234,11 +234,11 @@ void PlaylistSequence::CycleRepeatMode() { RepeatMode mode = RepeatMode::Off; //we cycle through the repeat modes switch (repeat_mode()) { - case RepeatMode::Off: mode = RepeatMode::Track; break; - case RepeatMode::Track: mode = RepeatMode::Album; break; - case RepeatMode::Album: mode = RepeatMode::Playlist; break; - case RepeatMode::Playlist: mode = RepeatMode::OneByOne; break; - case RepeatMode::OneByOne: mode = RepeatMode::Intro; break; + case RepeatMode::Off: mode = RepeatMode::Track; break; + case RepeatMode::Track: mode = RepeatMode::Album; break; + case RepeatMode::Album: mode = RepeatMode::Playlist; break; + case RepeatMode::Playlist: mode = RepeatMode::OneByOne; break; + case RepeatMode::OneByOne: mode = RepeatMode::Intro; break; case RepeatMode::Intro: break; }