mirror of
https://github.com/transmission/transmission
synced 2025-01-02 13:05:08 +00:00
26 lines
510 B
C
26 lines
510 B
C
|
/*
|
||
|
* 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.
|
||
|
*
|
||
|
* $Id$
|
||
|
*/
|
||
|
|
||
|
#ifndef QTR_BASE_DIALOG_H
|
||
|
#define QTR_BASE_DIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
|
||
|
class BaseDialog: public QDialog
|
||
|
{
|
||
|
public:
|
||
|
BaseDialog (QWidget * parent = nullptr, Qt::WindowFlags flags = 0):
|
||
|
QDialog (parent, flags)
|
||
|
{
|
||
|
setWindowFlags (windowFlags () & ~Qt::WindowContextHelpButtonHint);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
#endif // QTR_BASE_DIALOG_H
|