]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/progressindicator.cpp
Fixed issue in method naturalCompare: strings having numbers with the same amount...
[dolphin.git] / src / progressindicator.cpp
index b42bc2ea5dcdd1b002599deee28c0319bca2a53e..6805788ebef907e3af3aed90638a128269778bff 100644 (file)
  *   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,
@@ -74,7 +75,7 @@ void ProgressIndicator::execOperation()
             DolphinStatusBar* statusBar = m_mainWindow->activeView()->statusBar();
             statusBar->setProgress((m_operationsIndex * 100) / m_operationsCount);
 #warning "EVIL, DANGER, FIRE"
-            kapp->processEvents();
+            qApp->processEvents();
             statusBar->repaint();
         }
     }