diff options
author | Riley Bell <riley.bell@vfemail.net> | 2024-07-04 07:15:46 -0700 |
---|---|---|
committer | Riley Bell <riley.bell@vfemail.net> | 2024-07-04 07:15:46 -0700 |
commit | 20349c46df65501d70ee09490961ac6f9076469e (patch) | |
tree | fbb0b9c0d13cb34dcf9d68f61b1f26e9fd914619 /akregator/src/main.cpp | |
parent | 3353e7fa30be3d2f6c5161a7fd10fd056b5828cd (diff) | |
download | tdepim-feat/addFeed_argument.tar.gz tdepim-feat/addFeed_argument.zip |
Akregator: Add argument for opening feeds.feat/addFeed_argument
Signed-off-by: Riley Bell <riley.bell@vfemail.net>
Diffstat (limited to 'akregator/src/main.cpp')
-rw-r--r-- | akregator/src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/akregator/src/main.cpp b/akregator/src/main.cpp index 4c4b31ec..b89e820e 100644 --- a/akregator/src/main.cpp +++ b/akregator/src/main.cpp @@ -75,6 +75,9 @@ int Application::newInstance() for (QCStringList::ConstIterator it = feeds.begin(); it != end; ++it) feedsToAdd.append(*it); + if (args->count() == 1) + feedsToAdd.append(args->arg(0)); + if (!feedsToAdd.isEmpty()) akr.send("addFeedsToGroup", feedsToAdd, addFeedGroup ); |