mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Override the cursor while sending the report.
This commit is contained in:
parent
04480a3290
commit
52bb68f547
2 changed files with 4 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
namespace
|
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
|
class RCErrorSocketPvt
|
||||||
|
|
|
@ -66,6 +66,7 @@ void RCErrorWidget::onLoad()
|
||||||
void RCErrorWidget::onSendClicked()
|
void RCErrorWidget::onSendClicked()
|
||||||
{
|
{
|
||||||
m_ui.sendButton->setEnabled( false );
|
m_ui.sendButton->setEnabled( false );
|
||||||
|
QApplication::setOverrideCursor( Qt::WaitCursor );
|
||||||
|
|
||||||
RCErrorData data;
|
RCErrorData data;
|
||||||
data.description = m_ui.descriptionEdit->toPlainText();
|
data.description = m_ui.descriptionEdit->toPlainText();
|
||||||
|
@ -87,6 +88,8 @@ void RCErrorWidget::onCBClicked()
|
||||||
|
|
||||||
void RCErrorWidget::onReportSent()
|
void RCErrorWidget::onReportSent()
|
||||||
{
|
{
|
||||||
|
QApplication::setOverrideCursor( Qt::ArrowCursor );
|
||||||
|
|
||||||
QMessageBox::information( this,
|
QMessageBox::information( this,
|
||||||
tr( "Report sent" ),
|
tr( "Report sent" ),
|
||||||
tr( "The report has been sent." ) );
|
tr( "The report has been sent." ) );
|
||||||
|
|
Loading…
Reference in a new issue