summaryrefslogtreecommitdiffstats
path: root/kommander/editor/layout.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-03-07 20:24:08 +0100
committergregory guy <[email protected]>2021-03-11 15:04:46 +0100
commit70defe5e6d9498c5c6011eee50c4dc506abebd61 (patch)
treec2d269ffeaf389637607efa6547ff8eb2d41cd45 /kommander/editor/layout.cpp
parent4c43d1fbb66a296958ed1d0dbddf3f8ac4466130 (diff)
downloadtdewebdev-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.cpp6
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;
}