Add option to disable help message

This commit is contained in:
lupoDharkael
2017-06-02 01:27:31 +02:00
parent 25f63c0098
commit 1802d05fde
9 changed files with 106 additions and 17 deletions

View File

@@ -52,8 +52,10 @@ namespace {
CaptureWidget::CaptureWidget(QWidget *parent) :
QWidget(parent), m_mouseOverHandle(0), m_mouseIsClicked(false),
m_rightClick(false), m_newSelection(false), m_grabbing(false),
m_onButton(false), m_showInitialMsg(true), m_state(Button::Type::move)
m_onButton(false), m_state(Button::Type::move)
{
m_showInitialMsg = QSettings().value("showHelp").toBool();
setAttribute(Qt::WA_DeleteOnClose);
// create selection handlers
QRect baseRect(0, 0, HANDLE_SIZE, HANDLE_SIZE);