summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-10-09 02:22:11 (UTC)
committer zautrix <zautrix>2004-10-09 02:22:11 (UTC)
commit69af2ac56474e3a1e3e59be318caf53f5d357f94 (patch) (side-by-side diff)
tree05e8a657c6f2526f5d1d628e93e0f16e8ffbf11e
parentc2165f4e14bc2f7ab2ef19f5c35497dde5e87a0d (diff)
downloadkdepimpi-69af2ac56474e3a1e3e59be318caf53f5d357f94.zip
kdepimpi-69af2ac56474e3a1e3e59be318caf53f5d357f94.tar.gz
kdepimpi-69af2ac56474e3a1e3e59be318caf53f5d357f94.tar.bz2
more ir fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/addressbook.cpp1
-rw-r--r--kaddressbook/kabcore.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp
index bf6d053..1a06956 100644
--- a/kabc/addressbook.cpp
+++ b/kabc/addressbook.cpp
@@ -408,13 +408,12 @@ void AddressBook::importFromFile( QString fileName, bool replaceLabel )
KABC::Addressee::List list;
QFile file( fileName );
file.open( IO_ReadOnly );
QByteArray rawData = file.readAll();
file.close();
- qDebug("AddressBook::importFromFile ");
QString data;
if ( replaceLabel ) {
data = QString::fromLatin1( rawData.data(), rawData.size() + 1 );
data.replace ( QRegExp("LABEL") , "ADR" );
data.replace ( QRegExp("CHARSET=ISO-8859-1") , "" );
} else
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 3a542ba..efcd492 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -324,14 +324,15 @@ KABCore::~KABCore()
delete syncManager;
}
void KABCore::recieve( QString fn )
{
- qDebug("KABCore::recieve ");
+ //qDebug("KABCore::recieve ");
mAddressBook->importFromFile( fn, true );
+ mViewManager->refreshView();
topLevelWidget()->raise();
}
void KABCore::restoreSettings()
{
mMultipleViewsAtOnce = KABPrefs::instance()->mMultipleViewsAtOnce;