diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-16 11:30:46 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-07 17:50:53 +0900 |
| commit | 591ce28f0128f324165b19f6ff653d158711614b (patch) | |
| tree | 541481862d7f74d011326963e35b25af9823b9e6 /src/ksquirrel.cpp | |
| parent | cff034308ca68e006ac4e4adb4ddb694a9e362b6 (diff) | |
| download | ksquirrel-591ce28f0128f324165b19f6ff653d158711614b.tar.gz ksquirrel-591ce28f0128f324165b19f6ff653d158711614b.zip | |
Fix bad code, this was highlighted when building with cmake and ninja
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/ksquirrel.cpp')
| -rw-r--r-- | src/ksquirrel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ksquirrel.cpp b/src/ksquirrel.cpp index 92aa892..8f2a149 100644 --- a/src/ksquirrel.cpp +++ b/src/ksquirrel.cpp @@ -514,7 +514,7 @@ void KSquirrel::createWidgets(int createFirst) m_urlbox = tdeconf->readBoolEntry("has_url", false); // main TQVBox - mainPage = new TQVBox(this, TQString::fromLatin1("SQ_BROWSER_VBOX")); + mainPage = new TQVBox(this, "SQ_BROWSER_VBOX"); mainPage->resize(size()); SQ_SplashScreen::advance(); @@ -526,7 +526,7 @@ void KSquirrel::createWidgets(int createFirst) tools = new TDEToolBar(mainPage); // location toolbar - pTLocation = new TDEToolBar(mainPage, TQString::fromLatin1("Location toolbar")); + pTLocation = new TDEToolBar(mainPage, "Location toolbar"); pTLocation->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum); // main splitter @@ -1748,7 +1748,7 @@ void KSquirrel::control(const TQString &command) { int id = it.data(); - TDEAction *a = SQ_GLWidget::window()->actionCollection()->action(TQString::fromLatin1("action_%1").arg(id)); + TDEAction *a = SQ_GLWidget::window()->actionCollection()->action(TQString("action_%1").arg(id).local8Bit()); if(a) a->activate(); } @@ -1759,7 +1759,7 @@ void KSquirrel::control(const TQString &command) for(TQMap<TQString, int>::iterator it = messages.begin();it != messages.end();++it) { - std::cerr << it.key() << std::endl; + std::cerr << it.key().local8Bit() << std::endl; } std::cerr << "******************************" << std::endl; |
