summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.cpp1
-rw-r--r--noncore/unsupported/oipkg/pmipkg.cpp2
-rw-r--r--noncore/unsupported/oipkg/utils.cpp2
-rw-r--r--noncore/unsupported/oipkg/utils.h2
4 files changed, 3 insertions, 4 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp
index 11ab406..233eae6 100644
--- a/noncore/unsupported/oipkg/mainwindow.cpp
+++ b/noncore/unsupported/oipkg/mainwindow.cpp
@@ -400,17 +400,16 @@ void MainWindow::destClose()
400 400
401void MainWindow::setDocument(const QString &fileName) 401void MainWindow::setDocument(const QString &fileName)
402{ 402{
403 if ( !QFile::exists( fileName ) ) return; 403 if ( !QFile::exists( fileName ) ) return;
404 ipkg->installFile( fileName ); 404 ipkg->installFile( fileName );
405 QCopEnvelope e("QPE/System", "linkChanged(QString)"); 405 QCopEnvelope e("QPE/System", "linkChanged(QString)");
406 QString lf = QString::null; 406 QString lf = QString::null;
407 e << lf; 407 e << lf;
408 exit;
409} 408}
410 409
411 410
412void MainWindow::makeChannel() 411void MainWindow::makeChannel()
413 { 412 {
414 channel = new QCopChannel( "QPE/Application/oipkg", this ); 413 channel = new QCopChannel( "QPE/Application/oipkg", this );
415 connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), 414 connect( channel, SIGNAL(received(const QCString&, const QByteArray&)),
416 this, SLOT(receive(const QCString&, const QByteArray&)) ); 415 this, SLOT(receive(const QCString&, const QByteArray&)) );
diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp
index 2a534d2..0817247 100644
--- a/noncore/unsupported/oipkg/pmipkg.cpp
+++ b/noncore/unsupported/oipkg/pmipkg.cpp
@@ -458,9 +458,9 @@ void PmIpkg::getIpkgOutput(OProcess *proc, char *buffer, int buflen)
458{ 458{
459 QString lineStr, lineStrOld; 459 QString lineStr, lineStrOld;
460 lineStr = buffer; 460 lineStr = buffer;
461 lineStr=lineStr.left(buflen); 461 lineStr=lineStr.left(buflen);
462 //Configuring opie-oipkg...Done 462 //Configuring opie-oipkg...Done
463 if (lineStr!=lineStrOld) 463 if (lineStr!=lineStrOld)
464 out(lineStr); 464 out(lineStr);
465 lineStrOld = lineStr; 465 lineStrOld = lineStr;
466} \ No newline at end of file 466}
diff --git a/noncore/unsupported/oipkg/utils.cpp b/noncore/unsupported/oipkg/utils.cpp
index 13b17fb..66dcf10 100644
--- a/noncore/unsupported/oipkg/utils.cpp
+++ b/noncore/unsupported/oipkg/utils.cpp
@@ -19,9 +19,9 @@
19#include <qstring.h> 19#include <qstring.h>
20#include "utils.h" 20#include "utils.h"
21 21
22void setComboName( QComboBox* combo, QString s) 22void setComboName( QComboBox* combo, QString s)
23{ 23{
24 for ( int i = 0; i < combo->count(); i++) 24 for ( int i = 0; i < combo->count(); i++)
25 if ( combo->text( i ) == s ) 25 if ( combo->text( i ) == s )
26 combo->setCurrentItem( i ); 26 combo->setCurrentItem( i );
27} \ No newline at end of file 27}
diff --git a/noncore/unsupported/oipkg/utils.h b/noncore/unsupported/oipkg/utils.h
index bb033c5..ecc70dc 100644
--- a/noncore/unsupported/oipkg/utils.h
+++ b/noncore/unsupported/oipkg/utils.h
@@ -10,9 +10,9 @@
10 * * 10 * *
11 * This program is free software; you can redistribute it and/or modify * 11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by * 12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or * 13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. * 14 * (at your option) any later version. *
15 * * 15 * *
16 ***************************************************************************/ 16 ***************************************************************************/
17 17
18void setComboName( QComboBox*, QString ); \ No newline at end of file 18void setComboName( QComboBox*, QString );