summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexidisplayutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils/kexidisplayutils.cpp')
-rw-r--r--kexi/widget/utils/kexidisplayutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/widget/utils/kexidisplayutils.cpp b/kexi/widget/utils/kexidisplayutils.cpp
index 1943b086..0866cf65 100644
--- a/kexi/widget/utils/kexidisplayutils.cpp
+++ b/kexi/widget/utils/kexidisplayutils.cpp
@@ -92,7 +92,7 @@ KexiDisplayUtils::DisplayParameters::DisplayParameters()
KexiDisplayUtils::DisplayParameters::DisplayParameters(TQWidget *w)
{
- textColor = w->tqpalette().active().foreground();
+ textColor = w->palette().active().foreground();
selectedTextColor = w->tqpalette().active().highlightedText();
font = w->font();
}