diff --git a/NanoVNASaver/Chart.py b/NanoVNASaver/Chart.py index 836dee5..22395d0 100644 --- a/NanoVNASaver/Chart.py +++ b/NanoVNASaver/Chart.py @@ -965,11 +965,6 @@ class QualityFactorChart(Chart): self.minQ = math.floor(minQ/10**scale) * 10**scale self.span = self.maxQ - self.minQ step = math.floor(self.span / 10) - print("Scale: " + str(scale)) - print("MaxQ: " + str(self.maxQ)) - print("MinQ: " + str(self.minQ)) - print("Span: " + str(self.span)) - print("Step: " + str(step)) if step == 0: return # No data to draw the graph from for i in range(self.minQ, self.maxQ, step): diff --git a/NanoVNASaver/NanoVNASaver.py b/NanoVNASaver/NanoVNASaver.py index 51fa7c7..4d7c857 100644 --- a/NanoVNASaver/NanoVNASaver.py +++ b/NanoVNASaver/NanoVNASaver.py @@ -41,7 +41,6 @@ class NanoVNASaver(QtWidgets.QWidget): def __init__(self): super().__init__() - self.settings = QtCore.QSettings(QtCore.QSettings.IniFormat, QtCore.QSettings.UserScope, "NanoVNASaver", "NanoVNASaver") diff --git a/NanoVNASaver/__main__.py b/NanoVNASaver/__main__.py index b6d06db..c06acbc 100644 --- a/NanoVNASaver/__main__.py +++ b/NanoVNASaver/__main__.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from PyQt5 import QtWidgets +from PyQt5 import QtWidgets, QtCore from .NanoVNASaver import NanoVNASaver @@ -29,6 +29,7 @@ def main(): print("") print("See https://github.com/mihtjel/nanovna-saver for further details") # Main code goes here + QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True) app = QtWidgets.QApplication([]) window = NanoVNASaver() window.show()