mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Fix statsdialog.* coding style
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Bittorrent Client using Qt4 and libtorrent.
|
||||
* Copyright (C) 2013 Nick Tiskov
|
||||
* Bittorrent Client using Qt and libtorrent.
|
||||
* Copyright (C) 2013 Nick Tiskov <daymansmail@gmail.com>
|
||||
*
|
||||
* 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 : daymansmail@gmail.com
|
||||
*/
|
||||
|
||||
#ifndef STATSDIALOG_H
|
||||
@@ -34,23 +32,25 @@
|
||||
#include <QDialog>
|
||||
#include <QTimer>
|
||||
|
||||
namespace Ui {
|
||||
class StatsDialog;
|
||||
namespace Ui
|
||||
{
|
||||
class StatsDialog;
|
||||
}
|
||||
|
||||
class StatsDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
class StatsDialog: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit StatsDialog(QWidget *parent);
|
||||
~StatsDialog();
|
||||
~StatsDialog() override;
|
||||
|
||||
private slots:
|
||||
void updateUI();
|
||||
void update();
|
||||
|
||||
private:
|
||||
Ui::StatsDialog *ui;
|
||||
QTimer* t;
|
||||
Ui::StatsDialog *m_ui;
|
||||
QTimer *m_timer;
|
||||
};
|
||||
|
||||
#endif // STATSDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user