mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 16:09:35 -05:00
Fixed FeedeReader compile & changed feed item icons
This commit is contained in:
parent
94afa6dbf9
commit
c12d633730
@ -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()
|
||||||
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user