Add an icon to the confirmation dialog the user gets when he try to set composition on.

svn path=/trunk/KDE/kdebase/workspace/; revision=903054
This commit is contained in:
Loic Marteau 2008-12-29 20:09:15 +00:00
parent e13f2b8904
commit 1543c9ec02

View file

@ -39,6 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QLabel>
#include <KPluginFactory>
#include <KPluginLoader>
#include <KIcon>
K_PLUGIN_FACTORY(KWinCompositingConfigFactory,
registerPlugin<KWin::KWinCompositingConfig>();
@ -63,6 +64,8 @@ ConfirmDialog::ConfirmDialog() :
"They will be automatically reverted in 10 seconds." ), this );
label->setWordWrap( true );
setMainWidget( label );
setWindowIcon(KIcon("preferences-desktop-effect"));
}