Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
  2. index 8744af1..d633c70 100644
  3. --- a/src/mainwindow.cpp
  4. +++ b/src/mainwindow.cpp
  5. @@ -1123,6 +1123,10 @@ bool MainWindow::event(QEvent *event)
  6. currentTab()->setFocus();
  7. return true;
  8. }
  9. +
  10. + //if page is loading, stop it
  11. + if(currentTab()->isPageLoading())
  12. + currentTab()->view()->stop();
  13. }
  14. }
  15. return KMainWindow::event(event);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement