Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. diff --git a/src/sflphoneview.cpp b/src/sflphoneview.cpp
  2. index 962817d..df0af78 100644
  3. --- a/src/sflphoneview.cpp
  4. +++ b/src/sflphoneview.cpp
  5. @@ -974,9 +974,11 @@ void SFLPhoneView::on1_incomingCall(Call* call)
  6.  
  7. updateWindowCallState();
  8.  
  9. - SFLPhone::app()->activateWindow ( );
  10. - SFLPhone::app()->raise ( );
  11. - SFLPhone::app()->setVisible ( true );
  12. + if (ConfigurationSkeleton::displayOnCalls()) {
  13. + SFLPhone::app()->activateWindow ( );
  14. + SFLPhone::app()->raise ( );
  15. + SFLPhone::app()->setVisible ( true );
  16. + }
  17.  
  18. emit incomingCall(call);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement