diff options
| author | tassaron | 2017-06-25 14:27:56 -0400 |
|---|---|---|
| committer | tassaron | 2017-06-25 14:27:56 -0400 |
| commit | 675a06dd4c10babb3ef2553f6c7cdd92b5f5ef0a (patch) | |
| tree | 1bc6afde9f5be085ac29cde13c1471458ca9e475 /src/command.py | |
| parent | 55423ca4aa206ec9a082942ca89da7dcb4f452bc (diff) | |
project files save settings & out/in fields
Diffstat (limited to 'src/command.py')
| -rw-r--r-- | src/command.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/command.py b/src/command.py index 2f71f31..b400773 100644 --- a/src/command.py +++ b/src/command.py @@ -1,5 +1,4 @@ -from PyQt4 import QtCore -from PyQt4.QtCore import QSettings +from PyQt5 import QtCore import argparse import os import sys @@ -43,8 +42,7 @@ class Command(QtCore.QObject): nargs='*', action='append') self.args = self.parser.parse_args() - self.settings = QSettings( - os.path.join(self.dataDir, 'settings.ini'), QSettings.IniFormat) + self.settings = self.core.settings LoadDefaultSettings(self) if self.args.projpath: |
