@ -724,8 +724,11 @@ void BitcoinGUI::gotoSendCoinsPage()
disconnect ( exportAction , SIGNAL ( triggered ( ) ) , 0 , 0 ) ;
disconnect ( exportAction , SIGNAL ( triggered ( ) ) , 0 , 0 ) ;
}
}
void BitcoinGUI : : gotoMessagePage ( )
void BitcoinGUI : : gotoMessagePage ( QString addr )
{
{
if ( ! addr . isEmpty ( ) )
messagePage - > setAddress ( addr ) ;
# ifdef FIRST_CLASS_MESSAGING
# ifdef FIRST_CLASS_MESSAGING
messageAction - > setChecked ( true ) ;
messageAction - > setChecked ( true ) ;
centralWidget - > setCurrentWidget ( messagePage ) ;
centralWidget - > setCurrentWidget ( messagePage ) ;
@ -734,16 +737,9 @@ void BitcoinGUI::gotoMessagePage()
disconnect ( exportAction , SIGNAL ( triggered ( ) ) , 0 , 0 ) ;
disconnect ( exportAction , SIGNAL ( triggered ( ) ) , 0 , 0 ) ;
# else
# else
messagePage - > show ( ) ;
messagePage - > show ( ) ;
messagePage - > setFocus ( ) ;
# endif
# endif
}
}
void BitcoinGUI : : gotoMessagePage ( QString addr )
{
gotoMessagePage ( ) ;
messagePage - > setAddress ( addr ) ;
}
void BitcoinGUI : : dragEnterEvent ( QDragEnterEvent * event )
void BitcoinGUI : : dragEnterEvent ( QDragEnterEvent * event )
{
{
// Accept only URIs
// Accept only URIs