By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2110
Collapse All | Expand All

(-)ksmserver/shutdown.cpp.orig (+4 lines)
Lines 152-157 Link Here
152
            mayrb = true;
152
            mayrb = true;
153
        }
153
        }
154
        else {
154
        else {
155
#ifdef COMPILE_TDEHARDWAREBACKEND
155
            TDERootSystemDevice* rootDevice = hwDevices->rootSystemDevice();
156
            TDERootSystemDevice* rootDevice = hwDevices->rootSystemDevice();
156
            if (rootDevice) {
157
            if (rootDevice) {
157
                if (rootDevice->canPowerOff()) {
158
                if (rootDevice->canPowerOff()) {
Lines 161-166 Link Here
161
                    mayrb = true;
162
                    mayrb = true;
162
                }
163
                }
163
            }
164
            }
165
#endif
164
        }
166
        }
165
    }
167
    }
166
    if (!maysd) {
168
    if (!maysd) {
Lines 239-244 Link Here
239
			// If this is not done the desktop of the locked session will be shown after suspend/hibernate until the lock fully engages!
241
			// If this is not done the desktop of the locked session will be shown after suspend/hibernate until the lock fully engages!
240
			kapp->dcopClient()->call("kdesktop", "KScreensaverIface", "lock()", TQCString(""), replyType, replyData);
242
			kapp->dcopClient()->call("kdesktop", "KScreensaverIface", "lock()", TQCString(""), replyType, replyData);
241
		}
243
		}
244
#ifdef COMPILE_TDEHARDWAREBACKEND
242
		TDERootSystemDevice* rootDevice = hwDevices->rootSystemDevice();
245
		TDERootSystemDevice* rootDevice = hwDevices->rootSystemDevice();
243
		if (rootDevice) {
246
		if (rootDevice) {
244
			if (selection == 1) {	// Suspend
247
			if (selection == 1) {	// Suspend
Lines 251-256 Link Here
251
				rootDevice->setPowerState(TDESystemPowerState::Freeze);
254
				rootDevice->setPowerState(TDESystemPowerState::Freeze);
252
			}
255
			}
253
		}
256
		}
257
#endif
254
        }
258
        }
255
    }
259
    }
256
260

Return to bug 2110