diff options
| author | Peter Penz <[email protected]> | 2007-06-20 20:44:18 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-06-20 20:44:18 +0000 |
| commit | cd780167c3921d3803d60f58564d2446325dd599 (patch) | |
| tree | b01e0ad59bbc98f5563aa45379b05d797a994b12 | |
| parent | 78da52a9ad59508c067fe92b7b17bfbc385f4593 (diff) | |
minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=678172
| -rw-r--r-- | src/dolphincontextmenu.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 038902e6b..f60d59298 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -64,7 +64,8 @@ DolphinContextMenu::DolphinContextMenu(DolphinMainWindow* parent, } DolphinContextMenu::~DolphinContextMenu() -{} +{ +} void DolphinContextMenu::open() { @@ -111,9 +112,9 @@ void DolphinContextMenu::openTrashContextMenu() if (popup->exec(QCursor::pos()) == emptyTrashAction) { const QString text(i18n("Do you really want to empty the Trash? All items will get deleted.")); const bool del = KMessageBox::warningContinueCancel(m_mainWindow, - text, - QString(), - KGuiItem(i18n("Empty Trash"), KIcon("user-trash")) + text, + QString(), + KGuiItem(i18n("Empty Trash"), KIcon("user-trash")) ) == KMessageBox::Continue; if (del) { KonqOperations::emptyTrash(m_mainWindow); @@ -180,7 +181,7 @@ void DolphinContextMenu::openItemContextMenu() const KUrl selectedUrl(m_fileInfo->url()); if (selectedUrl.isValid()) { DolphinSettings::instance().placesModel()->addPlace(selectedUrl.fileName(), - selectedUrl); + selectedUrl); } } else if (serviceActions.contains(activatedAction)) { // one of the 'Actions' items has been selected @@ -369,7 +370,7 @@ QList<QAction*> DolphinContextMenu::insertOpenWithItems(KMenu* popup, } QList<QAction*> DolphinContextMenu::insertActionItems(KMenu* popup, - QVector<KDesktopFileActions::Service>& actionsVector) + QVector<KDesktopFileActions::Service>& actionsVector) { // Parts of the following code have been taken // from the class KonqOperations located in |
