summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-02 00:33:22 (UTC)
committer llornkcor <llornkcor>2002-04-02 00:33:22 (UTC)
commit83d80c254e77aee34e579fc01679ffb0bfa4599b (patch) (side-by-side diff)
tree20acc40793f439a00cbf28fa48b74372569ac807
parent56b0e9e47fb776ccf78026b3243101415669e8b4 (diff)
downloadopie-83d80c254e77aee34e579fc01679ffb0bfa4599b.zip
opie-83d80c254e77aee34e579fc01679ffb0bfa4599b.tar.gz
opie-83d80c254e77aee34e579fc01679ffb0bfa4599b.tar.bz2
opps forgot to comment out some stuff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/fileBrowser.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/core/apps/textedit/fileBrowser.cpp b/core/apps/textedit/fileBrowser.cpp
index 652f830..b655c96 100644
--- a/core/apps/textedit/fileBrowser.cpp
+++ b/core/apps/textedit/fileBrowser.cpp
@@ -48,23 +48,24 @@ fileBrowser::fileBrowser( QWidget* parent, const char* name, bool modal, WFlags
: QDialog( parent, name, modal, fl )
{
if ( !name )
setName( "fileBrowser" );
setCaption(tr( name ) );
// mimeType = mimeFilter;
// MimeType mt( mimeType);
// if( mt.extension().isEmpty())
- QStringList filterList;
- filterList=QStringList::split(";",mimeFilter,FALSE);
- for ( QStringList::Iterator it = filterList.begin(); it != filterList.end(); ++it ) {
- printf( "%s \n", (*it).latin1() );
- }
+// QStringList filterList;
+// filterList=QStringList::split(";",mimeFilter,FALSE);
+// for ( QStringList::Iterator it = filterList.begin(); it != filterList.end(); ++it ) {
+// printf( "%s \n", (*it).latin1() );
+// }
- filterStr = mimeFilter.right(mimeFilter.length()- mimeFilter.find("/",0,TRUE) - 1);// "*";
+ filterStr = mimeFilter.right(mimeFilter.length() - mimeFilter.find("/",0,TRUE) - 1);// "*";
+
qDebug(filterStr);
// else
// filterStr = "*."+ mt.extension();
// qDebug("description "+mt.description());
// qDebug( "id "+mt.id());
// qDebug("extension "+mt.extension());
// channel = new QCopChannel( "QPE/fileDialog", this );