diff options
Diffstat (limited to 'chalk/ui/kis_palette_view.cc')
-rw-r--r-- | chalk/ui/kis_palette_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/kis_palette_view.cc b/chalk/ui/kis_palette_view.cc index 2bfe1985..a424d9ac 100644 --- a/chalk/ui/kis_palette_view.cc +++ b/chalk/ui/kis_palette_view.cc @@ -29,7 +29,7 @@ #include <tqfile.h> #include <tqimage.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqlineedit.h> #include <tqvalidator.h> #include <tqpainter.h> @@ -78,7 +78,7 @@ KisPaletteView::KisPaletteView(TQWidget *parent, const char* name, int minWidth, minSize += TQSize(cellSize); setMinimumSize(minSize); - setSizePolicy(TQSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored)); + tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored)); } KisPaletteView::~KisPaletteView() |