diff options
author | Slávek Banko <[email protected]> | 2021-03-07 20:24:08 +0100 |
---|---|---|
committer | gregory guy <[email protected]> | 2021-03-11 15:04:46 +0100 |
commit | 70defe5e6d9498c5c6011eee50c4dc506abebd61 (patch) | |
tree | c2d269ffeaf389637607efa6547ff8eb2d41cd45 /kommander/editor/layout.cpp | |
parent | 4c43d1fbb66a296958ed1d0dbddf3f8ac4466130 (diff) | |
download | tdewebdev-70defe5e6d9498c5c6011eee50c4dc506abebd61.tar.gz tdewebdev-70defe5e6d9498c5c6011eee50c4dc506abebd61.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kommander/editor/layout.cpp')
-rw-r--r-- | kommander/editor/layout.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/editor/layout.cpp b/kommander/editor/layout.cpp index 8fa45d95..026b39f4 100644 --- a/kommander/editor/layout.cpp +++ b/kommander/editor/layout.cpp @@ -191,7 +191,7 @@ void Layout::finishLayout( bool needMove, TQLayout *layout ) TQString n = layoutBase->name(); if ( n.find( "qt_dead_widget_" ) != -1 ) { n.remove( 0, TQString( "qt_dead_widget_" ).length() ); - layoutBase->setName( n ); + layoutBase->setName( n.utf8() ); } } @@ -212,7 +212,7 @@ void Layout::undoLayout() layoutBase->hide(); TQString n = layoutBase->name(); n.prepend( "qt_dead_widget_" ); - layoutBase->setName( n ); + layoutBase->setName( n.utf8() ); } else { layoutBase->setGeometry( oldGeometry ); } @@ -254,7 +254,7 @@ void Layout::breakLayout() parent = layoutBase->parentWidget(); TQString n = layoutBase->name(); n.prepend( "qt_dead_widget_" ); - layoutBase->setName( n ); + layoutBase->setName( n.utf8() ); } else { parent = layoutBase; } |