[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/kdeui
From: Lukáš Tinkl <lukas () kde ! org>
Date: 2006-02-14 13:22:01
Message-ID: 1139923321.201732.11319.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 509356 by lukas:
fix adding custom colors
BUG: 148215
M +3 -2 kcolordialog.cpp
--- branches/KDE/3.5/kdelibs/kdeui/kcolordialog.cpp #509355:509356
@@ -91,6 +91,7 @@
};
const int recentColorIndex = 0;
+const int customColorIndex = 1;
class KColorSpinBox : public QSpinBox
{
@@ -869,12 +870,12 @@
void
KPaletteTable::addToCustomColors( const QColor &color)
{
- setPalette(i18n_customColors);
+ setPalette(i18n( "palette name", colorPaletteName[ customColorIndex ].m_displayName ));
mPalette->addColor( color );
mPalette->save();
delete mPalette;
mPalette = 0;
- setPalette(i18n_customColors);
+ setPalette(i18n( "palette name", colorPaletteName[ customColorIndex ].m_displayName ));
}
void
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic