* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "progressindicator.h"
#include "dolphinmainwindow.h"
#include "dolphinstatusbar.h"
+#include <QApplication>
ProgressIndicator::ProgressIndicator(DolphinMainWindow* mainWindow,
const QString& progressText,
DolphinStatusBar* statusBar = m_mainWindow->activeView()->statusBar();
statusBar->setProgress((m_operationsIndex * 100) / m_operationsCount);
#warning "EVIL, DANGER, FIRE"
- kapp->processEvents();
+ qApp->processEvents();
statusBar->repaint();
}
}