aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/WebThemeInterfaceDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/theme/WebThemeInterfaceDialog.cpp')
-rw-r--r--src/modules/theme/WebThemeInterfaceDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/theme/WebThemeInterfaceDialog.cpp b/src/modules/theme/WebThemeInterfaceDialog.cpp
index 405b516f1..a4ffca704 100644
--- a/src/modules/theme/WebThemeInterfaceDialog.cpp
+++ b/src/modules/theme/WebThemeInterfaceDialog.cpp
@@ -63,11 +63,11 @@ bool WebThemeInterfaceDialog::installPackage(const QString &szPath,QString &szEr
return ThemeFunctions::installThemePackage(szPath,szError,this);
}
-bool WebThemeInterfaceDialog::packageIsInstalled(const QString &szName,const QString &szVersion)
+bool WebThemeInterfaceDialog::packageIsInstalled(const QString &szId,const QString &szVersion)
{
return \
- KviFileUtils::fileExists(m_szGlobalThemesPath+szName+"-"+szVersion) || \
- KviFileUtils::fileExists(m_szLocalThemesPath+szName+"-"+szVersion);
+ KviFileUtils::fileExists(m_szGlobalThemesPath+szId+"-"+szVersion) || \
+ KviFileUtils::fileExists(m_szLocalThemesPath+szId+"-"+szVersion);
}
#ifndef COMPILE_USE_STANDALONE_MOC_SOURCES