Browse Source

path of icons_rc

283
thomasv 11 years ago
parent
commit
e54a746a57
  1. 2
      gui/qt/__init__.py
  2. 11
      gui/qt/main_window.py

2
gui/qt/__init__.py

@ -40,7 +40,7 @@ from electrum.bitcoin import MIN_RELAY_TX_FEE
try:
import icons_rc
except:
sys.exit("Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o gui/gui_classic/icons_rc.py'")
sys.exit("Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o gui/qt/icons_rc.py'")
from util import *
from main_window import ElectrumWindow

11
gui/qt/main_window.py

@ -24,11 +24,7 @@ import shutil
import StringIO
try:
import PyQt4
except:
sys.exit("Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get install python-qt4'")
import PyQt4
from PyQt4.QtGui import *
from PyQt4.QtCore import *
import PyQt4.QtCore as QtCore
@ -36,10 +32,7 @@ import PyQt4.QtCore as QtCore
from electrum.bitcoin import MIN_RELAY_TX_FEE, is_valid
from electrum.plugins import run_hook
try:
import icons_rc
except:
sys.exit("Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o gui/icons_rc.py'")
import icons_rc
from electrum.wallet import format_satoshis
from electrum import Transaction

Loading…
Cancel
Save