diff --git a/config.cpp b/config.cpp index 717b0e6..757da9b 100644 --- a/config.cpp +++ b/config.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 Albert S. + * Copyright (c) 2018-2020 Albert S. * * 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 ConfigReader::readConfig() QFileInfo info(path); if(info.isFile()) { - QString suffix = info.completeSuffix(); + QString suffix = info.suffix(); if(suffix == "desktop") { result.append(readFromDesktopFile(path));