[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/mobile/lib
From: Tobias Koenig <tokoe () kde ! org>
Date: 2010-11-30 11:48:00
Message-ID: 20101130114800.EDA98AC8A3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1202302 by tokoe:
coding style cleanup
M +5 -6 kdeclarativemainview.cpp
--- trunk/KDE/kdepim/mobile/lib/kdeclarativemainview.cpp #1202301:1202302
@@ -689,19 +689,18 @@
void KDeclarativeMainView::openManual()
{
- const QString docu = lookupDocumentation( "kontact-touch/manual/index.html" );
- KUrl url = docu;
- bool isvalid = url.isValid();
+ const QString path = lookupDocumentation( "kontact-touch/manual/index.html" );
+ const KUrl url = path;
+ const bool isValid = url.isValid();
- if ( !isvalid ) {
+ if ( !isValid ) {
KMessageBox::error( this,
i18n( "The manual could not be found on your system." ),
i18n( "Manual not found" ) );
return;
}
- openAttachment( docu, QLatin1String( "text/html" ) );
- //KRun::runUrl( url, QLatin1String( "text/html" ), this );
+ openAttachment( path, QLatin1String( "text/html" ) );
}
void KDeclarativeMainView::openLicenses()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic