Fixed FeedeReader compile & changed feed item icons

This commit is contained in:
defnax 2019-11-24 16:54:24 +01:00
parent 94afa6dbf9
commit c12d633730
3 changed files with 12 additions and 12 deletions

View File

@ -55,7 +55,7 @@ extern "C" {
#ifdef WIN32 #ifdef WIN32
__declspec(dllexport) __declspec(dllexport)
#endif #endif
uint32_t RETROSHARE_PLUGIN_revision = 0; uint32_t RETROSHARE_PLUGIN_revision = abs(atoi(RS_EXTRA_VERSION)) ;
// This symbol contains the svn revision number grabbed from the executable. // This symbol contains the svn revision number grabbed from the executable.
// It will be tested by RS to load the plugin automatically, since it is safe to load plugins // It will be tested by RS to load the plugin automatically, since it is safe to load plugins
@ -72,7 +72,7 @@ void FeedReaderPlugin::getPluginVersion(int& major, int& minor, int &build, int&
major = RS_MAJOR_VERSION; major = RS_MAJOR_VERSION;
minor = RS_MINOR_VERSION; minor = RS_MINOR_VERSION;
build = RS_MINI_VERSION; build = RS_MINI_VERSION;
svn_rev = 0; svn_rev = abs(atoi(RS_EXTRA_VERSION)) ;
} }
FeedReaderPlugin::FeedReaderPlugin() FeedReaderPlugin::FeedReaderPlugin()

View File

@ -107,13 +107,13 @@ void FeedReaderFeedItem::doExpand(bool open)
if (open) { if (open) {
ui->expandFrame->show(); ui->expandFrame->show();
ui->expandButton->setIcon(QIcon(QString(":/images/edit_remove24.png"))); ui->expandButton->setIcon(QIcon(QString(":/icons/png/up-arrow.png")));
ui->expandButton->setToolTip(tr("Hide")); ui->expandButton->setToolTip(tr("Hide"));
setMsgRead(); setMsgRead();
} else { } else {
ui->expandFrame->hide(); ui->expandFrame->hide();
ui->expandButton->setIcon(QIcon(QString(":/images/edit_add24.png"))); ui->expandButton->setIcon(QIcon(QString(":/icons/png/down-arrow.png")));
ui->expandButton->setToolTip(tr("Expand")); ui->expandButton->setToolTip(tr("Expand"));
} }

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>629</width> <width>629</width>
<height>121</height> <height>123</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
@ -195,8 +195,8 @@ p, li { white-space: pre-wrap; }
<string>Expand</string> <string>Expand</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../../../retroshare-gui/src/gui/images.qrc"> <iconset resource="../../../retroshare-gui/src/gui/icons.qrc">
<normaloff>:/images/edit_add24.png</normaloff>:/images/edit_add24.png</iconset> <normaloff>:/icons/png/down-arrow.png</normaloff>:/icons/png/down-arrow.png</iconset>
</property> </property>
</widget> </widget>
</item> </item>
@ -221,8 +221,8 @@ p, li { white-space: pre-wrap; }
<string>Set as read and remove item</string> <string>Set as read and remove item</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../../../retroshare-gui/src/gui/images.qrc"> <iconset resource="../../../retroshare-gui/src/gui/icons.qrc">
<normaloff>:/images/cancel.png</normaloff>:/images/cancel.png</iconset> <normaloff>:/icons/png/correct.png</normaloff>:/icons/png/correct.png</iconset>
</property> </property>
</widget> </widget>
</item> </item>
@ -247,8 +247,8 @@ p, li { white-space: pre-wrap; }
<string>Remove Item</string> <string>Remove Item</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../../../retroshare-gui/src/gui/images.qrc"> <iconset resource="../../../retroshare-gui/src/gui/icons.qrc">
<normaloff>:/images/close_normal.png</normaloff>:/images/close_normal.png</iconset> <normaloff>:/icons/png/exit2.png</normaloff>:/icons/png/exit2.png</iconset>
</property> </property>
</widget> </widget>
</item> </item>
@ -345,7 +345,7 @@ p, li { white-space: pre-wrap; }
</customwidgets> </customwidgets>
<resources> <resources>
<include location="FeedReader_images.qrc"/> <include location="FeedReader_images.qrc"/>
<include location="../../../retroshare-gui/src/gui/images.qrc"/> <include location="../../../retroshare-gui/src/gui/icons.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>