From 23c931a81b14b4717dc97419aac480b32a542ddb Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Fri, 1 Jan 2021 21:24:56 +1000
Subject: Disable dbus


diff --git a/src/main.cpp b/src/main.cpp
index a8da28d..83446ad 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -72,9 +72,9 @@ int main(int argc, char ** argv)
     aboutData.processCommandLine(&parser);
 
     a.setWindowIcon(QIcon::fromTheme(QStringLiteral("kshisen")));
-
+#ifndef __HAIKU__
     KDBusService service;
-
+#endif
     auto app = new KShisen::App();
     app->show();
     return a.exec();
-- 
2.28.0


From bf8e0794f328bef2e608541e5405c943d725075b Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Fri, 1 Jan 2021 21:38:19 +1000
Subject: Fix set default tileset


diff --git a/src/board.cpp b/src/board.cpp
index d0c7bab..3642a26 100644
--- a/src/board.cpp
+++ b/src/board.cpp
@@ -153,6 +153,7 @@ bool Board::loadTileset(QString const & pathToTileset)
             Prefs::setTileSet(m_tiles.path());
             Prefs::self()->save();
             resizeBoard();
+            return true;
         }
     }
     return false;
@@ -174,6 +175,7 @@ bool Board::loadBackground(QString const & pathToBackground)
             Prefs::setBackground(m_background.path());
             Prefs::self()->save();
             resizeBoard();
+            return true;
         }
     }
     return false;
-- 
2.28.0

