Skip to content

Commit 9a1f10e

Browse files
author
timlinux
committed
icon updates & drop xpm in favour of qt resource
git-svn-id: http://svn.osgeo.org/qgis/trunk@8906 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent bcefd5c commit 9a1f10e

File tree

6 files changed

+214
-78
lines changed

6 files changed

+214
-78
lines changed
Loading
-154 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<RCC>
2-
<qresource prefix="/new/prefix1" >
2+
<qresource prefix="/" >
33
<file>delimited_text.png</file>
44
</qresource>
55
</RCC>

src/plugins/delimited_text/icon.xpm

-42
This file was deleted.

src/plugins/delimited_text/qgsdelimitedtextplugin.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
//the gui subclass
3838
#include "qgsdelimitedtextplugingui.h"
3939

40-
// xpm for creating the toolbar icon
41-
#include "icon.xpm"
4240
//
4341

4442
static const QString pluginVersion = QObject::tr("Version 0.2");
@@ -98,7 +96,7 @@ void QgsDelimitedTextPlugin::help()
9896
void QgsDelimitedTextPlugin::initGui()
9997
{
10098
// Create the action for tool
101-
myQActionPointer = new QAction(QIcon(icon), tr("&Add Delimited Text Layer"), this);
99+
myQActionPointer = new QAction(QIcon(":/delimited_text.png"), tr("&Add Delimited Text Layer"), this);
102100

103101
myQActionPointer->setWhatsThis(tr("Add a delimited text file as a map layer. ")+
104102
tr("The file must have a header row containing the field names. ")+

0 commit comments

Comments
 (0)