mirror of
https://github.com/transmission/transmission
synced 2024-12-30 19:46:56 +00:00
21 lines
434 B
C++
21 lines
434 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.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QDialog>
|
|
|
|
class BaseDialog : public QDialog
|
|
{
|
|
public:
|
|
BaseDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = {})
|
|
: QDialog(parent, flags)
|
|
{
|
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
|
}
|
|
};
|