-rw-r--r-- | library/lnkproperties.cpp | 6 |
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 ( ); } |