File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -11091,23 +11091,6 @@ void QgisApp::showProgress( int progress, int totalSteps )
11091
11091
}
11092
11092
mProgressBar ->setMaximum ( totalSteps );
11093
11093
mProgressBar ->setValue ( progress );
11094
-
11095
- if ( mProgressBar ->maximum () == 0 )
11096
- {
11097
- // for busy indicator (when minimum equals to maximum) the oxygen Qt style (used in KDE)
11098
- // has some issues and does not start busy indicator animation. This is an ugly fix
11099
- // that forces creation of a temporary progress bar that somehow resumes the animations.
11100
- // Caution: looking at the code below may introduce mild pain in stomach.
11101
- if ( strcmp ( QApplication::style ()->metaObject ()->className (), " Oxygen::Style" ) == 0 )
11102
- {
11103
- QProgressBar pb;
11104
- pb.setAttribute ( Qt::WA_DontShowOnScreen ); // no visual annoyance
11105
- pb.setMaximum ( 0 );
11106
- pb.show ();
11107
- qApp->processEvents ();
11108
- }
11109
- }
11110
-
11111
11094
}
11112
11095
}
11113
11096
You can’t perform that action at this time.
0 commit comments