mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-21 19:30:26 +08:00
Merge pull request #554 from Qv2ray/dev-patch-slow-catch
[cleanup] slow catchs
This commit is contained in:
commit
2c719d3db5
@ -121,7 +121,7 @@ void RouteSettingsMatrixWidget::on_importSchemeBtn_clicked()
|
|||||||
// done
|
// done
|
||||||
LOG(MODULE_SETTINGS, "Imported route config: " + scheme.name + " by: " + scheme.author)
|
LOG(MODULE_SETTINGS, "Imported route config: " + scheme.name + " by: " + scheme.author)
|
||||||
}
|
}
|
||||||
catch (exception e)
|
catch (exception &e)
|
||||||
{
|
{
|
||||||
LOG(MODULE_UI, "Exception: " + QString(e.what()))
|
LOG(MODULE_UI, "Exception: " + QString(e.what()))
|
||||||
// TODO: Give some error as Notification
|
// TODO: Give some error as Notification
|
||||||
@ -181,7 +181,7 @@ void RouteSettingsMatrixWidget::on_exportSchemeBtn_clicked()
|
|||||||
// TODO: Give some success as Notification
|
// TODO: Give some success as Notification
|
||||||
QvMessageBoxInfo(this, dialogTitle, tr("Your route scheme has been successfully exported!"));
|
QvMessageBoxInfo(this, dialogTitle, tr("Your route scheme has been successfully exported!"));
|
||||||
}
|
}
|
||||||
catch (exception)
|
catch (exception &)
|
||||||
{
|
{
|
||||||
|
|
||||||
// TODO: Give some error as Notification
|
// TODO: Give some error as Notification
|
||||||
|
Loading…
Reference in New Issue
Block a user