author | llornkcor <llornkcor> | 2002-05-22 14:45:47 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-22 14:45:47 (UTC) |
commit | d7c7e0a272996ef3ae386e939d25737d3060e427 (patch) (side-by-side diff) | |
tree | e39e2b2591ff4dfdd3928a4171e0c5bf1cbf0c78 /core | |
parent | 7535b4d2d300c32fd50218a652c32ab4bb5886ab (diff) | |
download | opie-d7c7e0a272996ef3ae386e939d25737d3060e427.zip opie-d7c7e0a272996ef3ae386e939d25737d3060e427.tar.gz opie-d7c7e0a272996ef3ae386e939d25737d3060e427.tar.bz2 |
fixed rampant mt thing
-rw-r--r-- | core/apps/textedit/fileBrowser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/textedit/fileBrowser.cpp b/core/apps/textedit/fileBrowser.cpp index 9ad0d69..3798f90 100644 --- a/core/apps/textedit/fileBrowser.cpp +++ b/core/apps/textedit/fileBrowser.cpp @@ -48,49 +48,49 @@ fileBrowser::fileBrowser( QWidget* parent, const char* name, bool modal, WFlags : QDialog( parent, name, modal, fl ) { if ( !name ) setName( "fileBrowser" ); setCaption(tr( name ) ); // getMimeTypes(); // 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() ); // } // filterStr = mimeFilter.right(mimeFilter.length() - mimeFilter.find("/",0,TRUE) - 1);// "*"; // qDebug(filterStr); // } else { - filterStr = "*."+ mt.extension(); + filterStr = "*";//+ mt.extension(); // qDebug("description "+mt.description()); // qDebug( "id "+mt.id()); // qDebug("extension "+mt.extension()); // } // channel = new QCopChannel( "QPE/fileDialog", this ); // connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), // this, SLOT(receive(const QCString&, const QByteArray&)) ); QGridLayout *layout = new QGridLayout( this ); layout->setSpacing( 4 ); layout->setMargin( 4 ); dirPathCombo = new QComboBox( FALSE, this, "dirPathCombo" ); dirPathCombo->setEditable(TRUE); connect( dirPathCombo, SIGNAL( activated( const QString & ) ), this, SLOT( dirPathComboActivated( const QString & ) ) ); connect( dirPathCombo->lineEdit(), SIGNAL( returnPressed( ) ), this, SLOT( dirPathEditPressed( ) ) ); dirPathStringList << "/"; // we can get the storage here |