summaryrefslogtreecommitdiffstats
path: root/twin/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-15 18:31:43 +0900
committerMichele Calgaro <[email protected]>2023-09-15 18:31:43 +0900
commit5fde4286063666e491dcabb7f9e4c22ca6ed963c (patch)
treee54fb7c50716af5b81de40464ae3ead09293a0e0 /twin/main.cpp
parent22d88554731788bd413c1930ee0e13ef1ab30b3a (diff)
downloadtdebase-5fde4286063666e491dcabb7f9e4c22ca6ed963c.tar.gz
tdebase-5fde4286063666e491dcabb7f9e4c22ca6ed963c.zip
twin: fix broken functionality introduced in recent commits
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'twin/main.cpp')
-rw-r--r--twin/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/twin/main.cpp b/twin/main.cpp
index 4231ee517..84f123f83 100644
--- a/twin/main.cpp
+++ b/twin/main.cpp
@@ -310,7 +310,6 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
}
TDEGlobal::locale()->setMainCatalogue("twin");
- TDEGlobal::locale()->insertCatalogue( "twin_lib" );
TDEAboutData aboutData( "twin", I18N_NOOP("TWin"),
version, description, TDEAboutData::License_GPL,
@@ -343,6 +342,8 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
else
appname.sprintf("twin-screen-%d", KWinInternal::screen_number);
+ TDEGlobal::locale()->insertCatalogue("twin_lib");
+
DCOPClient* client = a.dcopClient();
client->registerAs( appname.data(), false);
client->setDefaultObject( "KWinInterface" );