diff options
| author | 2008-05-09 22:31:51 +0000 | |
|---|---|---|
| committer | 2008-05-09 22:31:51 +0000 | |
| commit | 51eee59622eb7125f1f05adca82e68130e498ed7 (patch) | |
| tree | 8701783044b5c08075a3d957d5824d89704ff434 /src | |
| parent | fix QString pointer (diff) | |
| download | KVIrc-51eee59622eb7125f1f05adca82e68130e498ed7.tar.gz KVIrc-51eee59622eb7125f1f05adca82e68130e498ed7.tar.bz2 KVIrc-51eee59622eb7125f1f05adca82e68130e498ed7.zip | |
removed warning
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1727 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
| -rw-r--r-- | src/kvirc/ui/kvi_selectors.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/kvirc/ui/kvi_selectors.cpp b/src/kvirc/ui/kvi_selectors.cpp index 7852cc796..600d8e7f6 100644 --- a/src/kvirc/ui/kvi_selectors.cpp +++ b/src/kvirc/ui/kvi_selectors.cpp @@ -368,18 +368,6 @@ QString KviFileSelector::text() return m_pLineEdit->text(); } -#ifndef COMPILE_ON_WINDOWS -#warning "This should be fixed: otherwise we have to pass a null pointer to call the class without a predefined file" -#endif -/* FIXME: to call the class having a blank line, we have to pass a null value - to pOption - QString * szOption = new QString(); - KviDirectorySelector(this,szScriptDir,szOption,true); - - Shouldn't it be better to pass a QString and then create a pointer - with the value passed ar argument? Also KviFileSelector constructor - should be modified -*/ KviDirectorySelector::KviDirectorySelector(QWidget * par,const QString & txt,QString * pOption,bool bEnabled) : KviFileSelector(par,txt,pOption,bEnabled) { |
