diff options
| author | 2010-06-26 03:48:18 +0000 | |
|---|---|---|
| committer | 2010-06-26 03:48:18 +0000 | |
| commit | c43ce7c93186b60d9bf01161b648571bcdaf5dc6 (patch) | |
| tree | a88b6b879a11b98f58c0ecdbb92c5a31b76bc406 /src/modules/addon | |
| parent | More addon tweaks. Added /addon.installfiles so the installer class (which ma... (diff) | |
| download | KVIrc-c43ce7c93186b60d9bf01161b648571bcdaf5dc6.tar.gz KVIrc-c43ce7c93186b60d9bf01161b648571bcdaf5dc6.tar.bz2 KVIrc-c43ce7c93186b60d9bf01161b648571bcdaf5dc6.zip | |
More addon-related stuff
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4525 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/addon')
| -rw-r--r-- | src/modules/addon/packaddondialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/addon/packaddondialog.cpp b/src/modules/addon/packaddondialog.cpp index 4e2e1fa4e..ede1316a6 100644 --- a/src/modules/addon/packaddondialog.cpp +++ b/src/modules/addon/packaddondialog.cpp @@ -160,7 +160,7 @@ bool KviPackAddonDialog::checkDirTree(QString * pszError, QString * pszWarning) QDir sound(m_szDirPath + "/sound"); if(!sound.exists()) { - *pszWarning += __tr2qs_ctx("The sounds directory (sound) does not exist.","addon"); + *pszWarning += __tr2qs_ctx("The audio directory (sound) does not exist.","addon"); *pszWarning += "\n"; } @@ -413,7 +413,9 @@ bool KviPackAddonDialog::packAddon() return false; if(!addSubdirectoryIfExists(pw,m_szDirPath,"pics","pics/")) return false; - if(!addSubdirectoryIfExists(pw,m_szDirPath,"sounds","sounds/")) + if(!addSubdirectoryIfExists(pw,m_szDirPath,"audio","audio/")) + return false; + if(!addSubdirectoryIfExists(pw,m_szDirPath,"sounds","audio/")) return false; if(!addSubdirectoryIfExists(pw,m_szDirPath,"locale","locale/")) return false; |
