summaryrefslogtreecommitdiffabout
path: root/kaddressbook
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 /kaddressbook
parentc2165f4e14bc2f7ab2ef19f5c35497dde5e87a0d (diff)
downloadkdepimpi-69af2ac56474e3a1e3e59be318caf53f5d357f94.zip
kdepimpi-69af2ac56474e3a1e3e59be318caf53f5d357f94.tar.gz
kdepimpi-69af2ac56474e3a1e3e59be318caf53f5d357f94.tar.bz2
more ir fixes
Diffstat (limited to 'kaddressbook') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 3a542ba..efcd492 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -306,50 +306,51 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, const
mAddressBookService = new KAddressBookService( this );
#endif //KAB_EMBEDDED
mEditorDialog = 0;
createAddresseeEditorDialog( this );
setModified( false );
}
KABCore::~KABCore()
{
// save();
//saveSettings();
//KABPrefs::instance()->writeConfig();
delete AddresseeConfig::instance();
mAddressBook = 0;
KABC::StdAddressBook::close();
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;
bool state;
if (mMultipleViewsAtOnce)
state = KABPrefs::instance()->mDetailsPageVisible;
else
state = false;
mActionDetails->setChecked( state );
setDetailsVisible( state );
state = KABPrefs::instance()->mJumpButtonBarVisible;
mActionJumpBar->setChecked( state );
setJumpButtonBarVisible( state );
/*US
QValueList<int> splitterSize = KABPrefs::instance()->mDetailsSplitter;
if ( splitterSize.count() == 0 ) {
splitterSize.append( width() / 2 );