String Update + added new Dialog

This commit is contained in:
Syping 2018-01-17 00:59:40 +01:00
parent 885045d4fd
commit 3a00e9b5b0
15 changed files with 420 additions and 287 deletions

View file

@ -285,12 +285,18 @@ bool SnapmaticWidget::makePictureVisible()
void SnapmaticWidget::makePictureHiddenSlot()
{
makePictureHidden();
if (!makePictureHidden())
{
QMessageBox::warning(this, QApplication::translate("UserInterface", "Hide In-game"), QApplication::translate("SnapmaticWidget", "Failed to hide %1 In-game from your Snapmatic pictures").arg("\""+smpic->getPictureStr()+"\""));
}
}
void SnapmaticWidget::makePictureVisibleSlot()
{
makePictureVisible();
if (!makePictureVisible())
{
QMessageBox::warning(this, QApplication::translate("UserInterface", "Show In-game"), QApplication::translate("SnapmaticWidget", "Failed to show %1 In-game from your Snapmatic pictures").arg("\""+smpic->getPictureStr()+"\""));
}
}
void SnapmaticWidget::editSnapmaticProperties()