ConfigReader: use suffix() instead of completeSuffix()

Using completeSuffix breaks for names like org.kde.dolphin.desktop
Šī revīzija ir iekļauta:
Albert S. 2020-09-01 21:50:24 +02:00
vecāks d6ec7a7e1c
revīzija 5b99d764f0

Parādīt failu

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2019 Albert S. <mail at quitesimple dot org>
* Copyright (c) 2018-2020 Albert S. <mail at quitesimple dot org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -185,7 +185,7 @@ QVector<EntryConfig> ConfigReader::readConfig()
QFileInfo info(path);
if(info.isFile())
{
QString suffix = info.completeSuffix();
QString suffix = info.suffix();
if(suffix == "desktop")
{
result.append(readFromDesktopFile(path));