# HG changeset patch # User Mehmet Aslan # Date 2019-03-24 10:11:44 # Node ID e2263e5085983f050abedcbef0d001d1da7d7dbe # Parent 59966dd8ab7a3e28ce3d61d407623c0c888aaa89 Some functions changed to private from public. Since using this functions externally does not update gui elements. Their functionality only limited in defined class. diff --git a/src/portcontrol.h b/src/portcontrol.h --- a/src/portcontrol.h +++ b/src/portcontrol.h @@ -76,7 +76,7 @@ private: /// Returns currently selected flow control as text to be saved in settings QString currentFlowControlText(); -public slots: +private slots: void loadPortList(); void loadBaudRateList(); void togglePort(); @@ -88,7 +88,6 @@ public slots: void selectStopBits(int stopBits); // stopBits must be one of QSerialPort::StopBits void selectFlowControl(int flowControl); // flowControl must be one of QSerialPort::FlowControl -private slots: void openActionTriggered(bool checked); void onCbPortListActivated(int index); void onTbPortListActivated(int index);