Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f6464e15 authored by Heiko Becker's avatar Heiko Becker 🎸

Don't use single-char QStrings

parent 92247a11
......@@ -387,7 +387,7 @@ bool GUIProfile::writeProfile()
bool ret = false;
QString profileId = getId();
QString fileName = createNormalizedFilename(profileId);
QString fileNameFQ = QStandardPaths::writableLocation(QStandardPaths::DataLocation)+"/"+fileName;
QString fileNameFQ = QStandardPaths::writableLocation(QStandardPaths::DataLocation) + '/' + fileName;
qCDebug(KMIX_LOG) << "Write profile:" << fileNameFQ ;
QFile f(fileNameFQ);
......
......@@ -1139,12 +1139,12 @@ void MDWSlider::updateAccesability()
} else {
QList<VolumeChannel> vols = m_mixdevice->playbackVolume().getVolumes().values();
foreach (QAbstractSlider *slider, m_slidersPlayback) {
slider->setAccessibleName(slider->toolTip()+ " (" +Volume::ChannelNameReadable[vols.first().chid]+")");
slider->setAccessibleName(slider->toolTip()+ " (" +Volume::ChannelNameReadable[vols.first().chid]+')');
vols.pop_front();
}
vols = m_mixdevice->captureVolume().getVolumes().values();
foreach (QAbstractSlider *slider, m_slidersCapture) {
slider->setAccessibleName(slider->toolTip()+ " (" +Volume::ChannelNameReadable[vols.first().chid]+")");
slider->setAccessibleName(slider->toolTip()+ " (" +Volume::ChannelNameReadable[vols.first().chid]+')');
vols.pop_front();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment