summaryrefslogtreecommitdiff
authorsandman <sandman>2002-10-09 23:01:34 (UTC)
committer sandman <sandman>2002-10-09 23:01:34 (UTC)
commitd624bf47913f76c881f28c6498cec4ad3c007a9b (patch) (side-by-side diff)
treef86e449f8f5153580bead802c9c6f73dd76c3a11
parentecd41d0df770747bb07de5fa3e920adb164affbe (diff)
downloadopie-d624bf47913f76c881f28c6498cec4ad3c007a9b.zip
opie-d624bf47913f76c881f28c6498cec4ad3c007a9b.tar.gz
opie-d624bf47913f76c881f28c6498cec4ad3c007a9b.tar.bz2
Opening documents via the document tab now starts the corresponding app
with the right rotation setting. Filemanager/AdvanceFM doesn't work -- need to investigate this further.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/lnkproperties.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp
index 745ee2c..0b50bae 100644
--- a/library/lnkproperties.cpp
+++ b/library/lnkproperties.cpp
@@ -39,2 +39,3 @@
#include <qpe/qpemessagebox.h>
+#include <qpe/mimetype.h>
@@ -277,2 +278,4 @@ void LnkProperties::done(int ok)
bool changed=FALSE;
+ bool reloadMime=FALSE;
+
if ( lnk->name() != d->docname->text() ) {
@@ -302,2 +305,3 @@ void LnkProperties::done(int ok)
changed = TRUE;
+ reloadMime = TRUE;
}
@@ -332,2 +336,4 @@ void LnkProperties::done(int ok)
}
+ if ( reloadMime )
+ MimeType::updateApplications ( );
}