Misc clang warning fixes

This commit is contained in:
Roland Winklmeier
2018-08-24 15:27:31 +02:00
parent 5e38936fd2
commit 84dcc53dc0
4 changed files with 4 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ namespace BlackInput
void CKeyboardLinux::deviceDirectoryChanged(const QString &dir)
{
QDir eventFiles(dir, QLatin1String("event*"), 0, QDir::System);
QDir eventFiles(dir, QLatin1String("event*"), QDir::Name, QDir::System);
foreach(QFileInfo fileInfo, eventFiles.entryInfoList())
{