diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2023-10-04 23:16:36 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2023-10-04 23:22:02 +0300 |
commit | 9e7b4bb1d6adf15a58cc36bae602607d1fb9bfb2 (patch) | |
tree | bcab47fd2db37db030c072014f0ecb82711758e6 /twin/kcmtwin/twindecoration | |
parent | 33c7d159890b81da8f44ee330a349e3abd553bec (diff) | |
download | tdebase-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/kcmtwin/twindecoration')
-rw-r--r-- | twin/kcmtwin/twindecoration/twindecoration.cpp | 5 |
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 |