Skip to content

Commit 5ca780f

Browse files
committed
Constify
1 parent 98d2534 commit 5ca780f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applet/PlaylistManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ void PlaylistManager::openDisc(QAction *action)
210210

211211
void PlaylistManager::deviceAdded(const QString &udi)
212212
{
213-
Solid::Device device = Solid::Device(udi);
213+
const Solid::Device device = Solid::Device(udi);
214214

215215
if (!device.isDeviceInterface(Solid::DeviceInterface::OpticalDisc))
216216
{

0 commit comments

Comments
 (0)