[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/generic/wallpapers/image
From: Davide Bettio <davide.bettio () kdemail ! net>
Date: 2010-07-06 13:59:52
Message-ID: 20100706135952.E787AAC85D () svn ! kde ! org
[Download RAW message or body]
SVN commit 1146734 by bettio:
* Added a tooltip.
* Restored a removed line of code in the previous commit.
M +3 -2 image.cpp
M +1 -0 removebutton.cpp
--- trunk/KDE/kdebase/workspace/plasma/generic/wallpapers/image/image.cpp #1146733:1146734
@@ -663,14 +663,15 @@
emit update(boundingRect());
}
-//FIXME: we have to save the configuration also when cancel is clicked.
+//FIXME: we have to save the configuration also when the dialog cancel button is clicked.
void Image::removeWallpaper(QString name)
{
int wallpaperIndex = m_usersWallpapers.indexOf(name);
if (wallpaperIndex >= 0){
m_usersWallpapers.removeAt(wallpaperIndex);
m_model->reload(m_usersWallpapers);
- //TODO: save the configuration
+ //TODO: save the configuration in the right way
+ emit settingsChanged(true);
}
}
--- trunk/KDE/kdebase/workspace/plasma/generic/wallpapers/image/removebutton.cpp #1146733:1146734
@@ -49,6 +49,7 @@
m_icon = KIconLoader::global()->loadIcon("edit-delete",
KIconLoader::NoGroup,
qMin(width(), height()));
+ setToolTip(i18n("Remove from list"));
}
RemoveButton::~RemoveButton()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic