[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/main
From: Thorsten Zachmann <t.zachmann () zagge ! de>
Date: 2009-04-15 20:03:46
Message-ID: 1239825826.801848.7075.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 954469 by zachmann:
simplify regex
M +1 -1 KoDocument.cpp
--- trunk/koffice/libs/main/KoDocument.cpp #954468:954469
@@ -2584,7 +2584,7 @@
if (ok) {
QString mimeType = KMimeType::findByUrl( url, 0, true )->name();
// in case this is a open document template remove the -template from the end
- mimeType.remove( QRegExp( "(-template)$" ) );
+ mimeType.remove( QRegExp( "-template$" ) );
setMimeTypeAfterLoading(mimeType);
deleteOpenPane();
resetURL();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic