mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-27 07:46:17 +01:00
Added edit item to context feed menu.
This commit is contained in:
parent
63e6373d42
commit
972e888fbb
@ -474,6 +474,7 @@ void FeedsView::initializeContextMenuCategoriesFeeds() {
|
|||||||
m_contextMenuCategoriesFeeds = new QMenu(tr("Context menu for feeds"), this);
|
m_contextMenuCategoriesFeeds = new QMenu(tr("Context menu for feeds"), this);
|
||||||
m_contextMenuCategoriesFeeds->addActions(QList<QAction*>() <<
|
m_contextMenuCategoriesFeeds->addActions(QList<QAction*>() <<
|
||||||
FormMain::instance()->m_ui->m_actionUpdateSelectedFeedsCategories <<
|
FormMain::instance()->m_ui->m_actionUpdateSelectedFeedsCategories <<
|
||||||
|
FormMain::instance()->m_ui->m_actionEditSelectedFeedCategory <<
|
||||||
FormMain::instance()->m_ui->m_actionViewSelectedItemsNewspaperMode <<
|
FormMain::instance()->m_ui->m_actionViewSelectedItemsNewspaperMode <<
|
||||||
FormMain::instance()->m_ui->m_actionMarkSelectedFeedsAsRead <<
|
FormMain::instance()->m_ui->m_actionMarkSelectedFeedsAsRead <<
|
||||||
FormMain::instance()->m_ui->m_actionMarkSelectedFeedsAsUnread);
|
FormMain::instance()->m_ui->m_actionMarkSelectedFeedsAsUnread);
|
||||||
|
@ -64,7 +64,6 @@ void LocationLineEdit::paintEvent(QPaintEvent *event) {
|
|||||||
QLinearGradient gradient(0, 0, width(), 0);
|
QLinearGradient gradient(0, 0, width(), 0);
|
||||||
qreal percentage_border = m_progress / 100.0;
|
qreal percentage_border = m_progress / 100.0;
|
||||||
|
|
||||||
// TODO: Use better gradient here, something fancy.
|
|
||||||
gradient.setColorAt(0, loadingColor);
|
gradient.setColorAt(0, loadingColor);
|
||||||
gradient.setColorAt(percentage_border - 0.01, loadingColor);
|
gradient.setColorAt(percentage_border - 0.01, loadingColor);
|
||||||
gradient.setColorAt(percentage_border - 0.008, loadingColor.lighter(130));
|
gradient.setColorAt(percentage_border - 0.008, loadingColor.lighter(130));
|
||||||
|
@ -23,12 +23,6 @@
|
|||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
|
||||||
// TODO: Check if extra UNIX signalling is needed.
|
|
||||||
// Use <csignal> header for it - signal function and catch SIGHUP
|
|
||||||
// void my_terminate (int param) {
|
|
||||||
// qApp->quit();
|
|
||||||
// }
|
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
//: Name of language, e.g. English.
|
//: Name of language, e.g. English.
|
||||||
QObject::tr("LANG_NAME");
|
QObject::tr("LANG_NAME");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user