diff options
| author | Holger Freyther <[email protected]> | 2006-12-10 20:34:43 +0000 |
|---|---|---|
| committer | Holger Freyther <[email protected]> | 2006-12-10 20:34:43 +0000 |
| commit | 328de208710faebaa275e2ef8ddb28a78ea5a2f0 (patch) | |
| tree | ab89f39a9a3edd4e180140d97e10735ac6284ed1 /src/infosidebarpage.cpp | |
| parent | 4b0293e22ea169b0f8493644f2c4e8ef80e4e8fe (diff) | |
--deprecation
svn path=/trunk/playground/utils/dolphin/; revision=612307
Diffstat (limited to 'src/infosidebarpage.cpp')
| -rw-r--r-- | src/infosidebarpage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index 645300ae6..f08649ac2 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -448,7 +448,7 @@ void InfoSidebarPage::insertActions() KSimpleConfig cfg(*dirIt + *entryIt, true); cfg.setDesktopGroup(); if ((cfg.hasKey("Actions") || cfg.hasKey("X-KDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) { - const QStringList types = cfg.readListEntry("ServiceTypes"); + const QStringList types = cfg.readListEntry("ServiceTypes", ','); for (QStringList::ConstIterator it = types.begin(); it != types.end(); ++it) { // check whether the mime type is equal or whether the // mimegroup (e. g. image/*) is supported @@ -493,7 +493,7 @@ void InfoSidebarPage::insertActions() QPushButton* button = new QPushButton(submenuName, m_actionBox); button->setFlat(true); - button->setPopup(popup); + button->setMenu(popup); button->show(); m_actionWidgets.append(button); } |
