Remove old init() method, partially move code to calculateMinFreq()
[qcpufreq] / src / mainwindow.h
index c895bf2..17edd40 100644 (file)
@@ -59,6 +59,7 @@ public slots:
 
 private:
     Ui::MainWindow *ui;
+    void calculateMinFreq();
     int callHelper( QString action, QString param );
     QString getCPUTemp();
     int getMaxFreq();
@@ -72,8 +73,6 @@ private:
     QProcess helperProcess;
     //! The help window
     HelpWindow helpWindow;
-    //! Initializes the application
-    void init();
     LoadPreset *loadPresetDialog;
     int minFreq;
     QString readSysFile( QString sys_file );