Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Include splash file in resources
  • Loading branch information
wonder-sk committed Jul 20, 2011
1 parent 5259a5b commit 4f2a9cb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion images/CMakeLists.txt
Expand Up @@ -11,7 +11,6 @@ QT4_ADD_RESOURCES(IMAGE_RCC_SRCS ${IMAGE_RCCS})
########################################################
# Continue on to subdirs
ADD_SUBDIRECTORY(north_arrows)
ADD_SUBDIRECTORY(splash)
ADD_SUBDIRECTORY(icons)
ADD_SUBDIRECTORY(themes)
ADD_SUBDIRECTORY(svg)
1 change: 1 addition & 0 deletions images/images.qrc
Expand Up @@ -346,6 +346,7 @@
<file>themes/gis/plugins/scale_bar.png</file>
<file>themes/gis/plugins/spit.png</file>
<file>themes/gis/plugins/wfs.png</file>
<file>splash/splash.png</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Expand Down
5 changes: 0 additions & 5 deletions images/splash/CMakeLists.txt

This file was deleted.

2 changes: 1 addition & 1 deletion src/core/qgsapplication.cpp
Expand Up @@ -344,7 +344,7 @@ const QString QgsApplication::qgisUserDbFilePath()
*/
const QString QgsApplication::splashPath()
{
return mPkgDataPath + QString( "/images/splash/" );
return QString( ":/images/splash/" );
}

/*!
Expand Down

0 comments on commit 4f2a9cb

Please sign in to comment.