summaryrefslogtreecommitdiffstats
path: root/akregator/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/main.cpp')
-rw-r--r--akregator/src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/akregator/src/main.cpp b/akregator/src/main.cpp
index 4c4b31ecf..b89e820e4 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 );