Skip to content

Commit

Permalink
Merge from 3.1.x: PR #4133
Browse files Browse the repository at this point in the history
Fixes #4127
  • Loading branch information
ccordoba12 committed Feb 16, 2017
2 parents b4229cf + a88f67e commit 9c00dd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/app/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
# Create splash screen out of MainWindow to reduce perceived startup time.
#==============================================================================
from spyder.config.base import _, get_image_path, DEV, PYTEST
SPLASH = QSplashScreen(QPixmap(get_image_path('splash.svg'), 'svg'))
SPLASH = QSplashScreen(QPixmap(get_image_path('splash.svg')))
SPLASH_FONT = SPLASH.font()
SPLASH_FONT.setPixelSize(10)
SPLASH.setFont(SPLASH_FONT)
Expand Down
1 change: 1 addition & 0 deletions spyder/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def get_image_path(name, default="not_found.png"):
if osp.isfile(full_path):
return osp.abspath(full_path)
if default is not None:
img_path = osp.join(get_module_path('spyder'), 'images')
return osp.abspath(osp.join(img_path, default))


Expand Down

0 comments on commit 9c00dd6

Please sign in to comment.