summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2023-10-04 23:16:36 +0300
committerMavridis Philippe <mavridisf@gmail.com>2023-10-04 23:22:02 +0300
commit9e7b4bb1d6adf15a58cc36bae602607d1fb9bfb2 (patch)
treebcab47fd2db37db030c072014f0ecb82711758e6 /twin
parent33c7d159890b81da8f44ee330a349e3abd553bec (diff)
downloadtdebase-9e7b4bb1d6adf15a58cc36bae602607d1fb9bfb2.tar.gz
tdebase-9e7b4bb1d6adf15a58cc36bae602607d1fb9bfb2.zip
TWin: Fix loading of window decoration configuration libraries
Accidentally broken by commit 84ab47055d. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'twin')
-rw-r--r--twin/kcmtwin/twindecoration/twindecoration.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/twin/kcmtwin/twindecoration/twindecoration.cpp b/twin/kcmtwin/twindecoration/twindecoration.cpp
index 3d7076118..062ff6ac7 100644
--- a/twin/kcmtwin/twindecoration/twindecoration.cpp
+++ b/twin/kcmtwin/twindecoration/twindecoration.cpp
@@ -938,10 +938,7 @@ void KWinDecorationModule::checkSupportedBorderSizes()
TQString KWinDecorationModule::styleToConfigLib( TQString& styleLib )
{
- if( styleLib.startsWith( "twin_" ))
- return "twin_" + styleLib.mid( 6 ) + "_config";
- else
- return styleLib + "_config";
+ return styleLib + "_config";
}
TQString KWinDecorationModule::quickHelp() const