mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-28 15:40:52 +03:00
Addressed some issues with the code that produced warnings
This commit is contained in:
@@ -19,7 +19,6 @@ QT_END_NAMESPACE
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
bool initializing;
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
@@ -27,27 +26,20 @@ public:
|
||||
|
||||
private slots:
|
||||
void on_actionQuit_triggered();
|
||||
|
||||
void on_actionSave_JSON_triggered();
|
||||
|
||||
void on_actionGitHub_triggered();
|
||||
|
||||
void on_actionRescan_Refresh_triggered();
|
||||
|
||||
void on_actionAbout_triggered();
|
||||
|
||||
void on_actionIgnore_C4_Reallocation_Event_Count_toggled(bool enabled);
|
||||
|
||||
void on_actionHEX_toggled(bool enabled);
|
||||
|
||||
void on_actionUse_Fahrenheit_toggled(bool enabled);
|
||||
|
||||
void on_actionCyclic_Navigation_toggled(bool arg1);
|
||||
|
||||
void on_actionUse_GB_instead_of_TB_toggled(bool arg1);
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
QSettings settings;
|
||||
bool initializing;
|
||||
QLocale locale;
|
||||
utils Utils;
|
||||
QButtonGroup *buttonGroup;
|
||||
@@ -60,15 +52,12 @@ private:
|
||||
QColor goodColor, cautionColor, badColor, naColor;
|
||||
QJsonObject deviceJson;
|
||||
QSpacerItem *buttonStretch;
|
||||
QSettings settings;
|
||||
QAction *actionCyclic_Navigation;
|
||||
|
||||
QMenu *menuDevice;
|
||||
QMenu *menuDisk;
|
||||
QMenu *selfTestMenu;
|
||||
QAction *selfTestLogAction;
|
||||
QActionGroup *disksGroup;
|
||||
|
||||
QJsonArray devices;
|
||||
QStringList deviceOutputs;
|
||||
QJsonObject globalObj;
|
||||
@@ -85,4 +74,5 @@ private:
|
||||
void addSmartAttributesTable(const QJsonArray &attributes);
|
||||
void mousePressEvent(QMouseEvent*);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user