Diffstat (limited to 'core/apps/textedit/fileBrowser.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/fileBrowser.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/core/apps/textedit/fileBrowser.cpp b/core/apps/textedit/fileBrowser.cpp index fced326..9ad0d69 100644 --- a/core/apps/textedit/fileBrowser.cpp +++ b/core/apps/textedit/fileBrowser.cpp | |||
@@ -55,18 +55,18 @@ fileBrowser::fileBrowser( QWidget* parent, const char* name, bool modal, WFlags | |||
55 | 55 | ||
56 | mimeType = mimeFilter; | 56 | // mimeType = mimeFilter; |
57 | MimeType mt( mimeType); | 57 | // MimeType mt( mimeType); |
58 | 58 | ||
59 | if( mt.extension().isEmpty()) { | 59 | // if( mt.extension().isEmpty()) { |
60 | 60 | ||
61 | QStringList filterList; | 61 | // QStringList filterList; |
62 | filterList=QStringList::split(";",mimeFilter,FALSE); | 62 | // filterList=QStringList::split(";",mimeFilter,FALSE); |
63 | 63 | ||
64 | for ( QStringList::Iterator it = filterList.begin(); it != filterList.end(); ++it ) { | 64 | // for ( QStringList::Iterator it = filterList.begin(); it != filterList.end(); ++it ) { |
65 | printf( "%s \n", (*it).latin1() ); | 65 | // printf( "%s \n", (*it).latin1() ); |
66 | } | 66 | // } |
67 | 67 | ||
68 | filterStr = mimeFilter.right(mimeFilter.length() - mimeFilter.find("/",0,TRUE) - 1);// "*"; | 68 | // filterStr = mimeFilter.right(mimeFilter.length() - mimeFilter.find("/",0,TRUE) - 1);// "*"; |
69 | 69 | ||
70 | qDebug(filterStr); | 70 | // qDebug(filterStr); |
71 | } else { | 71 | // } else { |
72 | filterStr = "*."+ mt.extension(); | 72 | filterStr = "*."+ mt.extension(); |
@@ -75,3 +75,3 @@ fileBrowser::fileBrowser( QWidget* parent, const char* name, bool modal, WFlags | |||
75 | // qDebug("extension "+mt.extension()); | 75 | // qDebug("extension "+mt.extension()); |
76 | } | 76 | // } |
77 | // channel = new QCopChannel( "QPE/fileDialog", this ); | 77 | // channel = new QCopChannel( "QPE/fileDialog", this ); |