mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 21:11:39 +00:00
Don't offer send in non-dev mode when there's no log file specified.
This commit is contained in:
parent
001b870654
commit
dfecf4c769
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ void CCrashReportWidget::setup( const std::vector< std::pair< std::string, std::
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// If -host is specified, offer the send function
|
// If -host is specified, offer the send function
|
||||||
if( !m_socket->url().isEmpty() )
|
if( !m_socket->url().isEmpty() && !m_fileName.isEmpty() )
|
||||||
{
|
{
|
||||||
QPushButton *sendButton = new QPushButton( tr( "Send report" ), this );
|
QPushButton *sendButton = new QPushButton( tr( "Send report" ), this );
|
||||||
connect( sendButton, SIGNAL( clicked( bool ) ), this, SLOT( onSendClicked() ) );
|
connect( sendButton, SIGNAL( clicked( bool ) ), this, SLOT( onSendClicked() ) );
|
||||||
|
|
Loading…
Reference in a new issue