-rw-r--r-- | core/launcher/launcher.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index 344cd46..bdddd37 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -590,17 +590,16 @@ void Launcher::select( const AppLnk *appLnk ) } else { if ( appLnk->exec().isNull() ) { int i = QMessageBox::information(this,tr("No application"), tr("<p>No application is defined for this document." "<p>Type is %1.").arg(appLnk->type()), tr("OK"), tr("View as text"), 0, 0, 1); -#if 0 /* ### Fixme */ if ( i == 1 ) - Global::execute(Service::app("Open/text/*"),appLnk->file()); -#endif + Global::execute("textedit",appLnk->file()); + return; } tabs->setBusy(TRUE); emit executing( appLnk ); appLnk->execute(); } |