2015-09-01 20:19:26 +00:00
|
|
|
/*
|
|
|
|
* This file Copyright (C) 2015 Mnemosyne LLC
|
|
|
|
*
|
|
|
|
* It may be used under the GNU GPL versions 2 or 3
|
|
|
|
* or any future license endorsed by Mnemosyne LLC.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2016-03-29 16:37:21 +00:00
|
|
|
#pragma once
|
2015-09-01 20:19:26 +00:00
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2017-04-19 12:04:45 +00:00
|
|
|
class BaseDialog : public QDialog
|
2015-09-01 20:19:26 +00:00
|
|
|
{
|
2017-04-19 12:04:45 +00:00
|
|
|
public:
|
|
|
|
BaseDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = 0) :
|
|
|
|
QDialog(parent, flags)
|
2015-09-01 20:19:26 +00:00
|
|
|
{
|
2017-04-19 12:04:45 +00:00
|
|
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
2015-09-01 20:19:26 +00:00
|
|
|
}
|
|
|
|
};
|