Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
krename
remove-gplv2-code.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove-gplv2-code.diff of Package krename
--- src/CMakeLists.txt +++ src/CMakeLists.txt @@ -45,7 +45,6 @@ krenametest.cpp krenametokensorter.cpp krenamewindow.cpp - modeltest.cpp numberdialog.cpp insertpartfilenamedlg.cpp threadedlister.cpp --- src/krenameimpl.cpp +++ src/krenameimpl.cpp @@ -31,8 +31,6 @@ #include "threadedlister.h" #include "tokenhelpdialog.h" -#include "modeltest.h" - #include <kaction.h> #include <kapplication.h> #include <kcmdlineargs.h> @@ -224,9 +222,6 @@ bool gotFilenames = false; KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); - if( args->isSet( "test" ) ) - QTimer::singleShot( 0, this, SLOT( selfTest() ) ); - // Add all recursive directoris KUrl::List recursiveList; QStringList optlist = args->getOptionList ( "r" ); @@ -392,20 +387,6 @@ } } -void KRenameImpl::selfTest() -{ - KRenameTest* test = new KRenameTest(); - test->startTest(); - - new ModelTest( m_model ); - //new ModelTest( m_previewModel ); - - // Make _really_ sure it comes to front - test->show(); - test->raise(); - test->activateWindow(); -} - void KRenameImpl::slotUpdateCount() { m_window->setCount( m_vector.size() ); --- src/krenameimpl.h +++ src/krenameimpl.h @@ -101,11 +101,6 @@ */ void saveConfig(); - /** Start KRename's selftest: - * I.e several unit tests. - */ - void selfTest(); - /** Called when the user clicks the "Add..." button. * open a dialog to select files for adding to KRename. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor