summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp5
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
@@ -588,21 +588,20 @@ void Launcher::select( const AppLnk *appLnk )
if ( appLnk->type() == "Folder" ) { // No tr
// Not supported: flat is simpler for the user
} 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();
}
}