# HG changeset patch # User joachim99 # Date 1065875938 0 # Node ID 7cbcebe2b3e8cf08a0b1992d68bcee54fb915c5d # Parent 6daffd081b7effdf841eda1255b364d9d2f48894 ProgressDialog::show(): show only if not visible. diff -r 6daffd081b7e -r 7cbcebe2b3e8 kdiff3/src/fileaccess.cpp --- a/kdiff3/src/fileaccess.cpp Tue Oct 07 20:02:22 2003 +0000 +++ b/kdiff3/src/fileaccess.cpp Sat Oct 11 12:38:58 2003 +0000 @@ -443,7 +443,7 @@ bool FileAccess::symLink( const QString& linkTarget, const QString& linkLocation ) { #ifdef _WIN32 - return false; + return false; #else return 0==::symlink( linkTarget.ascii(), linkLocation.ascii() ); //FileAccessJobHandler fh(0); @@ -1485,11 +1485,14 @@ #include void ProgressDialog::show() { + if ( !isVisible() ) + { #if QT_VERSION==230 - QWidget::show(); + QWidget::show(); #else - QDialog::show(); + QDialog::show(); #endif + } } void ProgressDialog::hide()