mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kcminit: drop unused X-KDE-Init-Library property
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
23de583362
commit
ccf8286e5c
1 changed files with 1 additions and 13 deletions
|
@ -102,19 +102,7 @@ void KCMInit::runModules( int phase )
|
|||
++it) {
|
||||
KService::Ptr service = (*it);
|
||||
|
||||
QVariant tmp = service->property("X-KDE-Init-Library", QVariant::String);
|
||||
QString library;
|
||||
if( tmp.isValid() )
|
||||
{
|
||||
library = tmp.toString();
|
||||
if( !library.startsWith( QLatin1String( "kcminit_" ) ) )
|
||||
library = QLatin1String( "kcminit_" ) + library;
|
||||
}
|
||||
else
|
||||
{
|
||||
library = service->library();
|
||||
}
|
||||
|
||||
QString library = service->library();
|
||||
if (library.isEmpty()) {
|
||||
continue; // Skip
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue