summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-19 16:47:02 +0900
committerMichele Calgaro <[email protected]>2023-07-19 16:47:02 +0900
commit707ed9c6b561bdc37f27b17ce6551698a2445f63 (patch)
tree585b6aed2051f8f311b267e0cd83a9957603a74f
parent6e6261b436683673556f7cc1efd90e72d09dad8f (diff)
downloadtdegames-707ed9c6b561bdc37f27b17ce6551698a2445f63.tar.gz
tdegames-707ed9c6b561bdc37f27b17ce6551698a2445f63.zip
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--kbattleship/kbattleship/kgridwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbattleship/kbattleship/kgridwidget.cpp b/kbattleship/kbattleship/kgridwidget.cpp
index b848484b..1a94b873 100644
--- a/kbattleship/kbattleship/kgridwidget.cpp
+++ b/kbattleship/kbattleship/kgridwidget.cpp
@@ -412,5 +412,5 @@ void KGridWidget::finished()
void KGridWidget::cleanBuffer()
{
- m_doubleBuffer->fill(TQApplication::palette().color(TQPalette::Normal, TQColorGroup::Background));
+ m_doubleBuffer->fill(TQApplication::palette().color(TQPalette::Active, TQColorGroup::Background));
}