Fix coding style

This commit is contained in:
thalieht
2018-06-06 16:48:17 +03:00
committed by sledgehammer999
parent b107b745f2
commit ac6426eab1
79 changed files with 717 additions and 772 deletions

View File

@@ -1,6 +1,6 @@
/*
* Bittorrent Client using Qt4 and libtorrent.
* Copyright (C) 2006 Christophe Dumez
* Bittorrent Client using Qt and libtorrent.
* Copyright (C) 2006 Christophe Dumez <chris@qbittorrent.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -24,8 +24,6 @@
* modify file(s), you may extend this exception to your version of the file(s),
* but you are not obligated to do so. If you do not wish to do so, delete this
* exception statement from your version.
*
* Contact : chris@qbittorrent.org
*/
#ifndef OPTIONSDLG_H
@@ -57,7 +55,7 @@ namespace Ui
class OptionsDialog;
}
class OptionsDialog: public QDialog
class OptionsDialog : public QDialog
{
Q_OBJECT
using ThisType = OptionsDialog;
@@ -87,7 +85,7 @@ private slots:
void enableForceProxy(bool enable);
void enableProxy(int index);
void on_buttonBox_accepted();
void closeEvent(QCloseEvent *e);
void closeEvent(QCloseEvent *e) override;
void on_buttonBox_rejected();
void applySettings(QAbstractButton *button);
void enableApplyButton();
@@ -188,4 +186,4 @@ private:
QList<QString> removedScanDirs;
};
#endif
#endif // OPTIONSDLG_H