diff options
| author | 2007-01-06 19:33:31 +0000 | |
|---|---|---|
| committer | 2007-01-06 19:33:31 +0000 | |
| commit | 517e5885599142aa9a3dd2673bf0ce9e8600b8d4 (patch) | |
| tree | f3d94fc19d90169c0d33698a567abdeb2d670990 /src/modules/theme | |
| parent | fix (diff) | |
| download | KVIrc-517e5885599142aa9a3dd2673bf0ce9e8600b8d4.tar.gz KVIrc-517e5885599142aa9a3dd2673bf0ce9e8600b8d4.tar.bz2 KVIrc-517e5885599142aa9a3dd2673bf0ce9e8600b8d4.zip | |
fix
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@118 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/theme')
| -rw-r--r-- | src/modules/theme/managementdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/theme/managementdialog.cpp b/src/modules/theme/managementdialog.cpp index 342c5829a..17822fe0c 100644 --- a/src/modules/theme/managementdialog.cpp +++ b/src/modules/theme/managementdialog.cpp @@ -998,6 +998,7 @@ jump_out: void KviThemeManagementDialog::installFromXml() { + int iThemeCount=0; QString szFileName; QDict<QString> * pInfoFields; QString * pValue; @@ -1038,7 +1039,7 @@ void KviThemeManagementDialog::installFromXml() pValue = pInfoFields->find("ThemeCount"); if(!pValue)goto not_a_valid_theme_package; bool bOk; - int iThemeCount = pValue->toInt(&bOk); + iThemeCount = pValue->toInt(&bOk); if(!bOk)goto not_a_valid_theme_package; if(iThemeCount < 1)goto not_a_valid_theme_package; |
