diff options
| author | Peter Penz <[email protected]> | 2012-05-26 13:46:10 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-05-26 13:46:30 +0200 |
| commit | e76ec71536d7b2a82b22e20474838a244a4bb8d6 (patch) | |
| tree | 6192106fb15f22b4d82855523a915d3b832b776c /src/panels | |
| parent | 073f8cae13f2637c0bf2f5611295e103418d52ff (diff) | |
Minor coding style fixes
Diffstat (limited to 'src/panels')
| -rw-r--r-- | src/panels/places/placesitemmodel.cpp | 2 | ||||
| -rw-r--r-- | src/panels/terminal/terminalpanel.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp index 6723391db..ca79acb95 100644 --- a/src/panels/places/placesitemmodel.cpp +++ b/src/panels/places/placesitemmodel.cpp @@ -816,7 +816,7 @@ void PlacesItemModel::initializeAvailableDevices() connect(notifier, SIGNAL(deviceRemoved(QString)), this, SLOT(slotDeviceRemoved(QString))); const QList<Solid::Device>& deviceList = Solid::Device::listFromQuery(m_predicate); - foreach(const Solid::Device& device, deviceList) { + foreach (const Solid::Device& device, deviceList) { m_availableDevices << device.udi(); } } diff --git a/src/panels/terminal/terminalpanel.cpp b/src/panels/terminal/terminalpanel.cpp index b3bbe11e8..c307ce71b 100644 --- a/src/panels/terminal/terminalpanel.cpp +++ b/src/panels/terminal/terminalpanel.cpp @@ -103,7 +103,7 @@ void TerminalPanel::showEvent(QShowEvent* event) m_clearTerminal = true; KPluginFactory* factory = 0; KService::Ptr service = KService::serviceByDesktopName("konsolepart"); - if(service) { + if (service) { factory = KPluginLoader(service->library()).factory(); } m_konsolePart = factory ? (factory->create<KParts::ReadOnlyPart>(this)) : 0; |
