aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Elvio Basello2008-06-01 03:13:31 +0000
committerGravatar Elvio Basello2008-06-01 03:13:31 +0000
commitb4e7cdf25c1e33c3bf04ad53b96d159ebd2990cc (patch)
tree54534da6a2afd8ec46ac1633ba7cf0ef9a78d24e
parentmore mingw32 fixes (diff)
downloadKVIrc-b4e7cdf25c1e33c3bf04ad53b96d159ebd2990cc.tar.gz
KVIrc-b4e7cdf25c1e33c3bf04ad53b96d159ebd2990cc.tar.bz2
KVIrc-b4e7cdf25c1e33c3bf04ad53b96d159ebd2990cc.zip
little fix
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1871 17fca916-40b9-46aa-a4ea-0a15b648b75c
-rw-r--r--src/modules/addon/addonfunctions.cpp3
-rw-r--r--src/modules/reguser/wizard.h12
2 files changed, 8 insertions, 7 deletions
diff --git a/src/modules/addon/addonfunctions.cpp b/src/modules/addon/addonfunctions.cpp
index 4f6ecbf7a..5fd8f7779 100644
--- a/src/modules/addon/addonfunctions.cpp
+++ b/src/modules/addon/addonfunctions.cpp
@@ -233,7 +233,7 @@ namespace KviAddonFunctions
[02:27:10] <Pragma> guarda un pò insomma
[02:27:22] <Pragma> la gente co ste cose ci va a nozze
*/
- // Check for dir existence
+ // Create a random extraction dir
QString szTmpPath, szUnpackPath;
QString szRandomDir = createRandomDir();
@@ -242,6 +242,7 @@ namespace KviAddonFunctions
szUnpackPath = szTmpPath + szRandomDir;
QDir szTmpDir(szUnpackPath);
+ // Check for dir existence
while(szTmpDir.exists())
{
szRandomDir = createRandomDir();
diff --git a/src/modules/reguser/wizard.h b/src/modules/reguser/wizard.h
index d29ccb203..ad675f803 100644
--- a/src/modules/reguser/wizard.h
+++ b/src/modules/reguser/wizard.h
@@ -5,7 +5,7 @@
// Creation date : Fri Jun 26 2002 21:21:21 CEST by Szymon Stefanek
//
// This file is part of the KVirc irc client distribution
-// Copyright (C) 2002 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2008 Szymon Stefanek (pragma at kvirc dot net)
//
// This program is FREE software. You can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -23,18 +23,18 @@
//
#include "kvi_string.h"
-#include <kvi_tal_wizard.h>
-#include "kvi_styled_controls.h"
+#include "kvi_styled_controls.h"
+#include "kvi_tal_wizard.h"
-class QGridLayout;
+class QGridLayout;
//class KviStyledCheckBox;
class QLabel;
class QLineEdit;
class QWidget;
class KviPixmap;
class KviPixmapSelector;
-class KviTalVBoxLayout;
-class KviTalHBoxLayout;
+class KviTalVBoxLayout;
+class KviTalHBoxLayout;
class KviRegisteredUserDataBase;
class KviRegistrationWizard : public KviTalWizard