diff options
| author | 2008-05-14 18:15:21 +0000 | |
|---|---|---|
| committer | 2008-05-14 18:15:21 +0000 | |
| commit | fbc7ef52c13cff0d802c40539317b488c352fbfc (patch) | |
| tree | 7f78e721ac294ab5bc72b1ad5daae667083f98fa /src/modules/addon | |
| parent | Proper handling of phonon & dbus defines (diff) | |
| download | KVIrc-fbc7ef52c13cff0d802c40539317b488c352fbfc.tar.gz KVIrc-fbc7ef52c13cff0d802c40539317b488c352fbfc.tar.bz2 KVIrc-fbc7ef52c13cff0d802c40539317b488c352fbfc.zip | |
quick fix
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1782 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/addon')
| -rw-r--r-- | src/modules/addon/managementdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/addon/managementdialog.cpp b/src/modules/addon/managementdialog.cpp index a1fce0f06..aa5020d78 100644 --- a/src/modules/addon/managementdialog.cpp +++ b/src/modules/addon/managementdialog.cpp @@ -286,6 +286,8 @@ void KviScriptManagementDialog::installScript() szFileName.replace("\\","\\\\");
+ QString szError;
+
// Switch between script and addon
if(szFileName.endsWith(".kvs"))
{
@@ -302,7 +304,6 @@ void KviScriptManagementDialog::installScript() }
} else {
// Just for sanity check. We should NEVER enter here
- QString szError;
KviAddonFunctions::notAValidAddonPackage(szError);
QMessageBox::critical(this,__tr2qs_ctx("Install Addon - KVIrc","addon"),szError,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton);
}
|
