summaryrefslogtreecommitdiff
authortille <tille>2002-07-25 12:29:45 (UTC)
committer tille <tille>2002-07-25 12:29:45 (UTC)
commit8895e9bd55244f32f12ff619e020a23afac44808 (patch) (side-by-side diff)
treec2d1be286eeb7146af5a6caf69fec3e4f56b5438
parent6773dde79921b0a85040b2f74e89428c5f355fc0 (diff)
downloadopie-8895e9bd55244f32f12ff619e020a23afac44808.zip
opie-8895e9bd55244f32f12ff619e020a23afac44808.tar.gz
opie-8895e9bd55244f32f12ff619e020a23afac44808.tar.bz2
eliminated output mess
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/pmipkg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp
index 7682d49..84de67b 100644
--- a/noncore/unsupported/oipkg/pmipkg.cpp
+++ b/noncore/unsupported/oipkg/pmipkg.cpp
@@ -367,49 +367,50 @@ void PmIpkg::createLinks( const QString &dest )
QString url = settings->getDestinationUrlByName( dest );
url = url==""?dest:url;
processLinkDir( "/opt", url );
processLinkDir( "/usr", url );
}
void PmIpkg::removeLinks( const QString &dest )
{
pvDebug(2,"PmIpkg::removeLinks "+dest);
linkOpp=removeLink;
QString url = settings->getDestinationUrlByName( dest );
url = url==""?dest:url;
processLinkDir( "/opt", url );
processLinkDir( "/usr", url );
}
void PmIpkg::update()
{
show();
runIpkg( "update" );
}
void PmIpkg::out( QString o )
{
- runwindow->outPut->append(o);
+// runwindow->outPut->append(o);
+ runwindow->outPut->setText(runwindow->outPut->text()+o);
runwindow->outPut->setCursorPosition(runwindow->outPut->numLines() + 1,0,FALSE);
}
void PmIpkg::show()
{
if (!runwindow->isVisible())
{
runwindow->showMaximized();
runwindow->show();
}
runwindow->outPut->setText("");
}
void PmIpkg::installFile(const QString &fileName, const QString &dest)
{
to_install.clear();
to_remove.clear();
pvDebug( 2,"PmIpkg::installFile "+ fileName);
Package *p = new Package(fileName,settings);
if ( dest!="") p->setDest( dest );