mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
[libcalamares][modules] Use compatibility for QString::split()
- Use the compatibility value, which has an enum value suitable for the Qt version in use.
This commit is contained in:
parent
d6b0583bad
commit
192263cf9d
8 changed files with 24 additions and 17 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "JobQueue.h"
|
||||
#include "utils/CalamaresUtilsSystem.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "utils/String.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
|
@ -104,7 +105,7 @@ SetKeyboardLayoutJob::findLegacyKeymap() const
|
|||
continue;
|
||||
}
|
||||
|
||||
QStringList mapping = line.split( '\t', QString::SkipEmptyParts );
|
||||
QStringList mapping = line.split( '\t', SplitSkipEmptyParts );
|
||||
if ( mapping.size() < 5 )
|
||||
{
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue