summaryrefslogtreecommitdiffabout
path: root/libkdepim
authorzautrix <zautrix>2005-02-09 13:30:49 (UTC)
committer zautrix <zautrix>2005-02-09 13:30:49 (UTC)
commit22d5db839c9741cb2e988e84bbb367617934ebd9 (patch) (unidiff)
tree3baa20d09d274afa4c9849a9ec4213699f750cf4 /libkdepim
parentc3dd5bfd446b893a8b39ddec425a6cf8deff2261 (diff)
downloadkdepimpi-22d5db839c9741cb2e988e84bbb367617934ebd9.zip
kdepimpi-22d5db839c9741cb2e988e84bbb367617934ebd9.tar.gz
kdepimpi-22d5db839c9741cb2e988e84bbb367617934ebd9.tar.bz2
fifi
Diffstat (limited to 'libkdepim') (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp
index 1f5f4c7..9177f63 100644
--- a/libkdepim/ksyncmanager.cpp
+++ b/libkdepim/ksyncmanager.cpp
@@ -369,12 +369,17 @@ void KSyncManager::enableQuick( bool ask )
369#endif 369#endif
370 syncdesktop.setChecked( mPrefs->mPassiveSyncWithDesktop ); 370 syncdesktop.setChecked( mPrefs->mPassiveSyncWithDesktop );
371 371
372 dia.setFixedSize( 230,120 );
373 dia.setCaption( i18n("Enter port for Pi-Sync") );
374 QPushButton pb ( "OK", &dia); 372 QPushButton pb ( "OK", &dia);
375 lay.addWidget( &pb ); 373 lay.addWidget( &pb );
376 connect(&pb, SIGNAL( clicked() ), &dia, SLOT ( accept() ) ); 374 connect(&pb, SIGNAL( clicked() ), &dia, SLOT ( accept() ) );
375 dia.resize( 230,120 );
376 dia.setCaption( i18n("Enter port for Pi-Sync") );
377 dia.show(); 377 dia.show();
378#ifndef DESKTOP_VERSION
379 int dw = QApplication::desktop()->width();
380 int dh = QApplication::desktop()->height();
381 dia.move( (dw-dia.width())/2, (dh - dia.height() )/2 );
382#endif
378 if ( ! dia.exec() ) 383 if ( ! dia.exec() )
379 return; 384 return;
380 dia.hide(); 385 dia.hide();