diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-09 09:11:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-09 09:11:52 +0000 |
commit | 341ad02235b9c85cd31782225181ed475b74eaa3 (patch) | |
tree | 8f80dae0b9a45cac3102294d3a91c6eb186be502 /kwin/kcmkwin | |
parent | bd777c107eb5098446497e57bfb6170cbf5cf242 (diff) | |
download | tdebase-341ad02235b9c85cd31782225181ed475b74eaa3.tar.gz tdebase-341ad02235b9c85cd31782225181ed475b74eaa3.zip |
Fix spurious kompmgr crash dialogs
Disable irritating and obsolete warning dialog when kompmgr is enabled
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1245889 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/kcmkwin')
-rw-r--r-- | kwin/kcmkwin/kwinoptions/windows.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kwin/kcmkwin/kwinoptions/windows.cpp b/kwin/kcmkwin/kwinoptions/windows.cpp index 0f5939c6e..f438cd5ef 100644 --- a/kwin/kcmkwin/kwinoptions/windows.cpp +++ b/kwin/kcmkwin/kwinoptions/windows.cpp @@ -1526,7 +1526,7 @@ void KTranslucencyConfig::load( void ) KConfig conf_(TQDir::homeDirPath() + "/.xcompmgrrc"); conf_.setGroup("xcompmgr"); - + disableARGB->setChecked(conf_.readBoolEntry("DisableARGB",FALSE)); useShadows->setChecked(conf_.readEntry("Compmode","CompClientShadows").compare("CompClientShadows") == 0); @@ -1581,7 +1581,7 @@ void KTranslucencyConfig::save( void ) config->writeEntry("DockShadowSize",(int)(200.0 * dockWindowShadowSize->value() / (activeWindowShadowSize->value() + inactiveWindowShadowSize->value()))); config->writeEntry("ActiveWindowShadowSize",(int)(200.0 * activeWindowShadowSize->value() / (activeWindowShadowSize->value() + inactiveWindowShadowSize->value()))); config->writeEntry("InactiveWindowShadowSize",(int)(200.0 * inactiveWindowShadowSize->value() / (activeWindowShadowSize->value() + inactiveWindowShadowSize->value()))); - + config->writeEntry("RemoveShadowsOnMove",removeShadowsOnMove->isChecked()); config->writeEntry("RemoveShadowsOnResize",removeShadowsOnResize->isChecked()); config->writeEntry("OnlyDecoTranslucent", onlyDecoTranslucent->isChecked()); @@ -1671,8 +1671,8 @@ bool KTranslucencyConfig::kompmgrAvailable() void KTranslucencyConfig::showWarning(bool alphaActivated) { - if (alphaActivated) - KMessageBox::information(this, i18n("<qt>Translucency support is new and may cause problems<br> including crashes (sometimes the translucency engine, seldom even X).</qt>"), i18n("Warning")); +// if (alphaActivated) +// KMessageBox::information(this, i18n("<qt>Translucency support is new and may cause problems<br> including crashes (sometimes the translucency engine, seldom even X).</qt>"), i18n("Warning")); } #include "windows.moc" |