File tree Expand file tree Collapse file tree 5 files changed +3
-9
lines changed Expand file tree Collapse file tree 5 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ QT4_ADD_RESOURCES(IMAGE_RCC_SRCS ${IMAGE_RCCS})
10
10
11
11
########################################################
12
12
# Continue on to subdirs
13
- ADD_SUBDIRECTORY (north_arrows )
14
13
ADD_SUBDIRECTORY (icons )
15
14
ADD_SUBDIRECTORY (themes )
16
15
ADD_SUBDIRECTORY (svg )
Original file line number Diff line number Diff line change 347
347
<file>themes/gis/plugins/spit.png</file>
348
348
<file>themes/gis/plugins/wfs.png</file>
349
349
<file>splash/splash.png</file>
350
+ <file>north_arrows/default.png</file>
350
351
</qresource>
351
352
<qresource prefix="/images/tips">
352
353
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -167,8 +167,7 @@ void QgsNorthArrowPlugin::renderNorthArrow( QPainter * theQPainter )
167
167
168
168
QPixmap myQPixmap; // to store the north arrow image in
169
169
170
- QString myFileNameQString = QDir::cleanPath ( QgsApplication::pkgDataPath () +
171
- " /images/north_arrows/default.png" );
170
+ QString myFileNameQString = " :/images/north_arrows/default.png" ;
172
171
173
172
// QgsDebugMsg("Trying to load " + myFileNameQString);
174
173
if ( myQPixmap.load ( myFileNameQString ) )
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ void QgsNorthArrowPluginGui::on_sliderRotation_valueChanged( int theInt )
97
97
void QgsNorthArrowPluginGui::rotatePixmap ( int theRotationInt )
98
98
{
99
99
QPixmap myQPixmap;
100
- QString myFileNameQString = QgsApplication::pkgDataPath () + " /images/north_arrows/default.png" ;
100
+ QString myFileNameQString = " : /images/north_arrows/default.png" ;
101
101
// QgsDebugMsg(QString("Trying to load %1").arg(myFileNameQString));
102
102
if ( myQPixmap.load ( myFileNameQString ) )
103
103
{
You can’t perform that action at this time.
0 commit comments