Commit c1515125 authored by Dirk Mueller's avatar Dirk Mueller
Browse files

unless I'm really missing something, this is a perfect noop

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=812785
parent 9a92fa8c
......@@ -594,11 +594,9 @@ void EditProfileDialog::unpreview(int property)
void EditProfileDialog::delayedPreview(int property , const QVariant& value)
{
_delayedPreviewProperties.insert(property,value);
QTimer* timer = new QTimer(this);
timer->setSingleShot(true);
_delayedPreviewTimer->stop();
_delayedPreviewTimer->start(300);
_delayedPreviewTimer->start(300);
}
void EditProfileDialog::delayedPreviewActivate()
{
......@@ -615,7 +613,7 @@ void EditProfileDialog::preview(int property , const QVariant& value)
{
QHash<Profile::Property,QVariant> map;
map.insert((Profile::Property)property,value);
_delayedPreviewProperties.remove(property);
const Profile::Ptr original = lookupProfile();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment