From 98d25196380f7a0369e47fbe833e6fb1b3746552 Mon Sep 17 00:00:00 2001 From: Szymon Tomasz Stefanek Date: Fri, 25 Mar 2011 00:19:16 +0000 Subject: Add a web interface for the addons git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5692 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/theme/WebThemeInterfaceDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/theme/WebThemeInterfaceDialog.cpp') 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 -- cgit v1.3.1-10-gc9f91