mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 02:36:10 +03:00
Cleanup header include
Code formatting
This commit is contained in:
parent
feab999093
commit
1099a5006f
2 changed files with 7 additions and 13 deletions
|
@ -30,20 +30,17 @@
|
|||
* Contact : hammered999@gmail.com
|
||||
*/
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QHBoxLayout>
|
||||
#include "shutdownconfirm.h"
|
||||
#include "ui_confirmshutdowndlg.h"
|
||||
|
||||
#include <QStyle>
|
||||
#include <QIcon>
|
||||
#include <QLabel>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QCheckBox>
|
||||
#include <QPushButton>
|
||||
|
||||
#include "base/preferences.h"
|
||||
#include "base/types.h"
|
||||
#include "base/utils/misc.h"
|
||||
|
||||
#include "shutdownconfirm.h"
|
||||
#include "ui_confirmshutdowndlg.h"
|
||||
|
||||
ShutdownConfirmDlg::ShutdownConfirmDlg(const ShutdownAction &action)
|
||||
: ui(new Ui::confirmShutdownDlg)
|
||||
|
@ -67,7 +64,7 @@ ShutdownConfirmDlg::ShutdownConfirmDlg(const ShutdownAction &action)
|
|||
cancelButton->setFocus();
|
||||
cancelButton->setDefault(true);
|
||||
// Always on top
|
||||
setWindowFlags(windowFlags()|Qt::WindowStaysOnTopHint);
|
||||
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
|
||||
m_timer.setInterval(1000); // 1sec
|
||||
connect(&m_timer, SIGNAL(timeout()), this, SLOT(updateSeconds()));
|
||||
// Move to center
|
||||
|
|
|
@ -33,17 +33,14 @@
|
|||
|
||||
#include <QDialog>
|
||||
#include <QTimer>
|
||||
#include "base/utils/misc.h"
|
||||
|
||||
class QLabel;
|
||||
class QCheckBox;
|
||||
#include "base/types.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class confirmShutdownDlg;
|
||||
}
|
||||
|
||||
class ShutdownConfirmDlg : public QDialog
|
||||
class ShutdownConfirmDlg: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
|
Loading…
Reference in a new issue