Override the cursor while sending the report.

--HG--
branch : feature-crashreport
hg/feature/qt5
dfighter1985 10 years ago
parent f0869aa659
commit 14a709449a

@ -23,7 +23,7 @@
namespace
{
static const char *BUG_URL = "http://192.168.2.67/dfighter/r.php";
static const char *BUG_URL = "http://192.168.2.66/dfighter/r.php";
}
class RCErrorSocketPvt

@ -66,6 +66,7 @@ void RCErrorWidget::onLoad()
void RCErrorWidget::onSendClicked()
{
m_ui.sendButton->setEnabled( false );
QApplication::setOverrideCursor( Qt::WaitCursor );
RCErrorData data;
data.description = m_ui.descriptionEdit->toPlainText();
@ -87,6 +88,8 @@ void RCErrorWidget::onCBClicked()
void RCErrorWidget::onReportSent()
{
QApplication::setOverrideCursor( Qt::ArrowCursor );
QMessageBox::information( this,
tr( "Report sent" ),
tr( "The report has been sent." ) );

Loading…
Cancel
Save