diff --git a/src/common.h b/src/common.h index 5af179634..aa6346a45 100644 --- a/src/common.h +++ b/src/common.h @@ -60,24 +60,6 @@ static QString findWinDefaultConfigPath() return temp; } -static QString findWinConfigPath(QString configFileName) -{ - QString temp; - QFileInfo localConfigInfo(findWinLocalConfigPath().append("/").append(configFileName)); - QFileInfo systemConfigInfo(findWinSystemConfigPath().append("/").append(configFileName)); - if (localConfigInfo.exists() && localConfigInfo.isWritable()) - { - temp = localConfigInfo.absoluteFilePath(); - } else if (systemConfigInfo.exists() && systemConfigInfo.isWritable()) - { - temp = systemConfigInfo.absoluteFilePath(); - } else - { - temp = findWinDefaultConfigPath().append("/").append(configFileName); - } - - return temp; -} #endif namespace PadderCommon {