mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 07:26:10 -04:00
const & foreach loop
This commit is contained in:
@@ -664,7 +664,7 @@ private:
|
||||
|
||||
// len holds the length of the string
|
||||
QString qargs = QString::fromLocal8Bit(args,len);
|
||||
foreach (QString value, qargs.split('\u0000'))
|
||||
foreach (const QString& value, qargs.split('\u0000'))
|
||||
{
|
||||
if (!value.isEmpty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user