Advertisement
Lajamerr_Mittesdine

Solutions

Jul 13th, 2018
797
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Current
  2.  
  3. this->dropdownMenu_.show();
  4.  
  5. //Potential solution #1 Synchronous
  6.  
  7. this->dropdownMenu_.exec(QCursor::pos());
  8.  
  9. //Potential solution #2 Asynchronous
  10.  
  11. this->dropdownMenu_.popup(QCursor::pos());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement