- int aStart = aUsedFilter.find('*');
- int aEnd = aUsedFilter.find(')', aStart + 1);
- QString aExt = aUsedFilter.mid(aStart + 1, aEnd - aStart - 1);
- if ( aExt.contains('*') == 0 )
- {
- if ( aName.contains( aExt, false ) == 0 )
- aName += aExt;
- }
-
+ // call application-specific "Save file" dialog box
+ QString aName = app->getFileName( false, QString::null, QString( "*.log" ), QString::null, 0 );
+ if ( aName.isNull() )
+ return;