mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
plasma: remove redundant method
the window manager should probably not be changed if there are active applications (i.e. until the next login in most cases) to begin with Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
063f5e745e
commit
ae3d5e62cb
4 changed files with 0 additions and 10 deletions
|
@ -134,8 +134,6 @@ bool CfgWm::saveAndConfirm()
|
||||||
if (tryWmLaunch()) {
|
if (tryWmLaunch()) {
|
||||||
oldwm = currentWm();
|
oldwm = currentWm();
|
||||||
cfg.sync();
|
cfg.sync();
|
||||||
QDBusInterface plasma("org.kde.plasma-desktop", "/App", "local.PlasmaApp");
|
|
||||||
plasma.call(QDBus::NoBlock, "wmChanged");
|
|
||||||
KMessageBox::information(
|
KMessageBox::information(
|
||||||
window(),
|
window(),
|
||||||
i18n("A new window manager is running.\n"
|
i18n("A new window manager is running.\n"
|
||||||
|
|
|
@ -28,7 +28,5 @@
|
||||||
<arg name="confirm" type="i" direction="in"/>
|
<arg name="confirm" type="i" direction="in"/>
|
||||||
<arg name="sdtype" type="i" direction="in"/>
|
<arg name="sdtype" type="i" direction="in"/>
|
||||||
</method>
|
</method>
|
||||||
<method name="wmChanged">
|
|
||||||
</method>
|
|
||||||
</interface>
|
</interface>
|
||||||
</node>
|
</node>
|
||||||
|
|
|
@ -1157,11 +1157,6 @@ void PlasmaApp::logout(int confirm, int sdtype)
|
||||||
m_dialogActive = false;
|
m_dialogActive = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlasmaApp::wmChanged()
|
|
||||||
{
|
|
||||||
// changing the window manager happens from the KCM, currently nothing to do when that happens
|
|
||||||
}
|
|
||||||
|
|
||||||
void PlasmaApp::captureDesktop()
|
void PlasmaApp::captureDesktop()
|
||||||
{
|
{
|
||||||
KToolInvocation::self()->kdeinitExec("ksnapshot", QStringList() << "--fullscreen");
|
KToolInvocation::self()->kdeinitExec("ksnapshot", QStringList() << "--fullscreen");
|
||||||
|
|
|
@ -108,7 +108,6 @@ public Q_SLOTS:
|
||||||
void suspendStartup(const QString &app);
|
void suspendStartup(const QString &app);
|
||||||
void resumeStartup(const QString &app);
|
void resumeStartup(const QString &app);
|
||||||
void logout(int confirm, int sdtype);
|
void logout(int confirm, int sdtype);
|
||||||
void wmChanged();
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
|
|
Loading…
Add table
Reference in a new issue