summaryrefslogtreecommitdiff
path: root/nephilim/nephilim_app.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/nephilim_app.py')
-rw-r--r--nephilim/nephilim_app.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nephilim/nephilim_app.py b/nephilim/nephilim_app.py
index b03245d..1f160dc 100644
--- a/nephilim/nephilim_app.py
+++ b/nephilim/nephilim_app.py
@@ -15,7 +15,7 @@
# along with Nephilim. If not, see <http://www.gnu.org/licenses/>.
#
-from PyQt4 import QtGui, QtCore
+from PyQt5 import QtGui, QtWidgets, QtCore
from string import Template
from main_window import MainWindow
@@ -26,7 +26,7 @@ from connect_wg import ConnectWidget
import plugins
import icons
-class NephilimApp(QtGui.QApplication):
+class NephilimApp(QtWidgets.QApplication):
#### PUBLIC ####
# those don't change while the program is running
"""main window object"""
@@ -46,7 +46,7 @@ class NephilimApp(QtGui.QApplication):
#### PUBLIC ####
def __init__(self, argv):
- QtGui.QApplication.__init__(self, argv)
+ QtWidgets.QApplication.__init__(self, argv)
self.setApplicationName(APPNAME)
self.setOrganizationName(ORGNAME)
@@ -85,7 +85,7 @@ class NephilimApp(QtGui.QApplication):
self.main_win.restore_layout()
self._connect_win.monitor()
- QtGui.QApplication.exec_()
+ QtWidgets.QApplication.exec_()
def show_settings_win(self):