Changeset View
Changeset View
Standalone View
Standalone View
Modules/devinfo/devicelisting.cpp
Show All 40 Lines | 34 | // | |||
---|---|---|---|---|---|
41 | 41 | | |||
42 | // Check if item is removed | 42 | // Check if item is removed | ||
43 | connect(Solid::DeviceNotifier::instance(), &Solid::DeviceNotifier::deviceRemoved, this, | 43 | connect(Solid::DeviceNotifier::instance(), &Solid::DeviceNotifier::deviceRemoved, this, | ||
44 | &DeviceListing::deviceRemovedSlot); | 44 | &DeviceListing::deviceRemovedSlot); | ||
45 | 45 | | |||
46 | setWhatsThis(i18nc("Device Listing Whats This", | 46 | setWhatsThis(i18nc("Device Listing Whats This", | ||
47 | "Shows all the devices that are currently listed.")); | 47 | "Shows all the devices that are currently listed.")); | ||
48 | 48 | | |||
49 | createMenuActions(); | 49 | createMenuActions(); | ||
broulik: Why disable again? | |||||
isaact: I've removed the disable as it's pointless | |||||
50 | setHeaderLabels(QStringList(i18n("Devices"))); | 50 | setHeaderLabels(QStringList(i18n("Devices"))); | ||
51 | populateListing(); | 51 | populateListing(); | ||
52 | setSortingEnabled(true); | ||||
52 | } | 53 | } | ||
53 | 54 | | |||
54 | DeviceListing::~DeviceListing() | 55 | DeviceListing::~DeviceListing() | ||
55 | { | 56 | { | ||
56 | //delete nicSig; | 57 | //delete nicSig; | ||
57 | clear(); | 58 | clear(); | ||
58 | } | 59 | } | ||
59 | 60 | | |||
▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines |
Why disable again?