summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-14 18:42:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-14 19:40:07 +0900
commit22d88554731788bd413c1930ee0e13ef1ab30b3a (patch)
treec2b4e2d918c1d1c9576d3d4822bf852f36dcf17a
parent30d54139a83e6897c4a9a13a14e2a46d50b849a9 (diff)
downloadtdebase-22d88554731788bd413c1930ee0e13ef1ab30b3a.tar.gz
tdebase-22d88554731788bd413c1930ee0e13ef1ab30b3a.zip
Fix FTBFS caused by commit 9ba68726
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--twin/killer/killer.cpp2
-rw-r--r--twin/main.cpp2
-rw-r--r--twin/resumer/resumer.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/twin/killer/killer.cpp b/twin/killer/killer.cpp
index 0c687e79e..3913d5317 100644
--- a/twin/killer/killer.cpp
+++ b/twin/killer/killer.cpp
@@ -46,7 +46,7 @@ static const TDECmdLineOptions options[] =
int main( int argc, char* argv[] )
{
TDELocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file
- TDELocale::insertCatalogue( "twin_lib" );
+ TDEGlobal::locale()->insertCatalogue( "twin_lib" );
TDECmdLineArgs::init( argc, argv, "twin_killer_helper", I18N_NOOP( "TWin" ),
I18N_NOOP( "TWin helper utility" ), "1.0" );
TDECmdLineArgs::addCmdLineOptions( options );
diff --git a/twin/main.cpp b/twin/main.cpp
index b3b20c665..4231ee517 100644
--- a/twin/main.cpp
+++ b/twin/main.cpp
@@ -310,7 +310,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
}
TDEGlobal::locale()->setMainCatalogue("twin");
- TDELocale::insertCatalogue("twin_lib");
+ TDEGlobal::locale()->insertCatalogue( "twin_lib" );
TDEAboutData aboutData( "twin", I18N_NOOP("TWin"),
version, description, TDEAboutData::License_GPL,
diff --git a/twin/resumer/resumer.cpp b/twin/resumer/resumer.cpp
index 154f7b4cf..232d0e303 100644
--- a/twin/resumer/resumer.cpp
+++ b/twin/resumer/resumer.cpp
@@ -45,7 +45,7 @@ static const TDECmdLineOptions options[] =
int main( int argc, char* argv[] )
{
TDELocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file
- TDELocale::insertCatalogue( "twin_lib" );
+ TDEGlobal::locale()->insertCatalogue( "twin_lib" );
TDECmdLineArgs::init( argc, argv, "twin_resume_helper", I18N_NOOP( "TWin" ),
I18N_NOOP( "TWin helper utility" ), "1.0" );
TDECmdLineArgs::addCmdLineOptions( options );