summaryrefslogtreecommitdiffstats
path: root/kdpkg-install
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-05-13 19:23:17 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-13 22:58:28 +0200
commit56542a067ff482aff44ac34350bc9004e0123bc4 (patch)
tree2620b6d2c64ac1b394c9dc61e072d3e6c84921af /kdpkg-install
parent8ac32bf262973443d17fd367583a44e2e7d85cc5 (diff)
downloadkdpkg-56542a067ff482aff44ac34350bc9004e0123bc4.tar.gz
kdpkg-56542a067ff482aff44ac34350bc9004e0123bc4.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 <slavek.banko@axis.cz> (cherry picked from commit c860865bcded3d7b8a316f3933396e5fd93c7d51)
Diffstat (limited to 'kdpkg-install')
-rw-r--r--kdpkg-install/install.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdpkg-install/install.cpp b/kdpkg-install/install.cpp
index 95420a3..3c78386 100644
--- a/kdpkg-install/install.cpp
+++ b/kdpkg-install/install.cpp
@@ -163,7 +163,7 @@ void install::page3()
titleTextLabel->setText( "<b>"+i18n( "Resynchronize Package Index")+"</b>" );
closePushButton->hide();
- TQStrList run; run.append( m_kdePrefix + "/share/kdpkg/sh/kdpkg-sh" );
+ TQStrList run; run.append( m_kdePrefix.local8Bit() + "/share/kdpkg/sh/kdpkg-sh" );
run.append( "update" );
TQWidget *consoleWidget = new console(this, run );
@@ -186,11 +186,11 @@ void install::page4()
if( !removePkg )
removePkg = "none";
- TQStrList run; run.append( m_kdePrefix + "/share/kdpkg/sh/kdpkg-sh" );
+ TQStrList run; run.append( m_kdePrefix.local8Bit() + "/share/kdpkg/sh/kdpkg-sh" );
run.append( "install" );
- run.append( path );
- run.append( installPkg );
- run.append( removePkg );
+ run.append( path.local8Bit() );
+ run.append( installPkg.local8Bit() );
+ run.append( removePkg.local8Bit() );
TQWidget *consoleWidget = new console(this, run );
widgetStack->addWidget(consoleWidget, 5);