[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/mobile
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2010-11-30 14:51:20
Message-ID: 20101130145120.8F5DFAC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1202354 by tokoe:

Add the kontact-touch licences document and enable
it in the about dialog.

BUG: 256725


 M  +2 -0      CMakeLists.txt  
 M  +2 -3      lib/kdeclarativemainview.cpp  
 A             licenses (directory)  
 A             licenses/CMakeLists.txt  
 AM            licenses/licenses.pdf  
 A             licenses/licenses.xml  


--- trunk/KDE/kdepim/mobile/CMakeLists.txt #1202353:1202354
@@ -10,3 +10,5 @@
 add_subdirectory(mail)
 add_subdirectory(tasks)
 add_subdirectory(notes)
+
+add_subdirectory(licenses)
--- trunk/KDE/kdepim/mobile/lib/kdeclarativemainview.cpp #1202353:1202354
@@ -706,9 +706,8 @@
 
 void KDeclarativeMainView::openLicenses()
 {
-  //TODO: Add a licensing test and open it here
-/*  KDeclarativeMainView::openAttachment( KGlobal::dirs()->findResource( "data", \
                "license.pdf" ),
-                                        QLatin1String("application/pdf") );*/
+  KDeclarativeMainView::openAttachment( KGlobal::dirs()->findResource( "data", \
"kontact-touch/licenses.pdf" ), +                                        \
QLatin1String( "application/pdf" ) );  }
 
 void KDeclarativeMainView::openAttachment( const QString &url, const QString \
&mimeType )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic