Disable automatic conversions from 8-bit strings

This commit is contained in:
Jonas Kvinge
2024-04-11 02:56:01 +02:00
parent 58944993b8
commit 0c6872b352
310 changed files with 2501 additions and 2332 deletions

View File

@@ -49,6 +49,7 @@
#include "core/application.h"
#include "core/iconloader.h"
#include "core/player.h"
#include "core/settings.h"
#include "playlist.h"
#include "playlistbackend.h"
#include "playlistlistview.h"
@@ -150,7 +151,7 @@ void PlaylistListContainer::SetApplication(Application *app) {
void PlaylistListContainer::ReloadSettings() {
QSettings s;
Settings s;
s.beginGroup(AppearanceSettingsPage::kSettingsGroup);
int iconsize = s.value(AppearanceSettingsPage::kIconSizeLeftPanelButtons, 22).toInt();
s.endGroup();
@@ -213,7 +214,7 @@ void PlaylistListContainer::NewFolderClicked() {
return;
}
name.replace(QLatin1String("/"), QLatin1String(" "));
name.replace(QLatin1Char('/'), QLatin1Char(' '));
model_->invisibleRootItem()->appendRow(model_->NewFolder(name));
@@ -504,7 +505,7 @@ void PlaylistListContainer::ActivePlaying() {
}
void PlaylistListContainer::ActivePaused() {
UpdateActiveIcon(active_playlist_id_, QIcon(":/pictures/tiny-pause.png"));
UpdateActiveIcon(active_playlist_id_, QIcon(QStringLiteral(":/pictures/tiny-pause.png")));
}
void PlaylistListContainer::ActiveStopped() {