summaryrefslogtreecommitdiff
path: root/inputmethod/mozc-server/patches/patch-gui_dictionary__tool_dictionary__tool.cc
blob: 7d562a00bc8867c502d82747528e6f50bec14957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-gui_dictionary__tool_dictionary__tool.cc,v 1.6 2017/12/17 14:15:43 tsutsui Exp $

* NetBSD support

--- gui/dictionary_tool/dictionary_tool.cc.orig	2014-05-21 10:51:22.000000000 +0000
+++ gui/dictionary_tool/dictionary_tool.cc
@@ -347,7 +347,7 @@ DictionaryTool::DictionaryTool(QWidget *
 #endif  // !ENABLE_CLOUD_SYNC
 
   // main window
-#ifndef OS_LINUX
+#if !defined(OS_LINUX) && !defined(OS_NETBSD)
   // For some reason setCentralWidget crashes the dictionary_tool on Linux
   // TODO(taku): investigate the cause of the crashes
   setCentralWidget(splitter_);