m_stopAction->setEnabled(false);
m_playAction->setEnabled(true);
capturefile = m_capturePath;
- if (!capturefile.endsWith("/")) capturefile.append("/");
+ if (!capturefile.endsWith('/')) capturefile.append('/');
capturename = KdenliveSettings::decklink_filename();
capturename.append("xxx.");
capturename.append(KdenliveSettings::decklink_extension());
} else {
// Show capture info
capturefile = m_capturePath;
- if (!capturefile.endsWith("/")) capturefile.append("/");
+ if (!capturefile.endsWith('/')) capturefile.append('/');
capturename = KdenliveSettings::dvgrabfilename();
if (capturename.isEmpty()) capturename = "capture";
QString extension;
QString path;
MltVideoProfile profile;
QString producer;
- QStringList dvargs = KdenliveSettings::dvgrabextra().simplified().split(" ", QString::SkipEmptyParts);
+ QStringList dvargs = KdenliveSettings::dvgrabextra().simplified().split(' ', QString::SkipEmptyParts);
int ix = device_selector->currentIndex();
videoBox->setHidden(ix != VIDEO4LINUX && ix != BLACKMAGIC && ix != FIREWIRE);
switch (ix) {
m_captureArgs << "--channels" << QString::number(KdenliveSettings::rmd_audio_channels());
if (KdenliveSettings::rmd_use_jack()) {
m_captureArgs << "--use-jack";
- QStringList ports = KdenliveSettings::rmd_jackports().split(" ", QString::SkipEmptyParts);
+ QStringList ports = KdenliveSettings::rmd_jackports().split(' ', QString::SkipEmptyParts);
for (int i = 0; i < ports.count(); ++i) {
m_captureArgs << ports.at(i);
}
QStringList filters;
QString capturename = KdenliveSettings::dvgrabfilename();
if (capturename.isEmpty()) capturename = "capture";
- filters << capturename + "*" + extension;
+ filters << capturename + '*' + extension;
const QStringList result = dir.entryList(filters, QDir::Files, QDir::Time);
KUrl::List capturedFiles;
foreach(const QString & name, result) {