diff --git a/src/qt/navcoinunits.cpp b/src/qt/navcoinunits.cpp
index 09927247b..45fbcb936 100644
--- a/src/qt/navcoinunits.cpp
+++ b/src/qt/navcoinunits.cpp
@@ -290,14 +290,20 @@ QString NavCoinUnits::format(int unit, const CAmount& nIn, bool fPlus, Separator
qint64 coin = factor(unit);
int num_decimals = decimals(unit);
qint64 n_abs = (n > 0 ? n : -n);
- double quotient;
+ double quotient = 0;
+ double quotientD = 0;
qint64 remainder;
- quotient = n_abs / coin;
+ // Check if we have a coin
+ if (coin > 0)
+ {
+ quotient = n_abs / coin;
+ quotientD = (double) n_abs / (double) coin;
+ }
std::ostringstream out;
out << std::setprecision(num_decimals) << std::fixed
- << std::showpoint << (double)n_abs / (double)coin;
+ << std::showpoint << quotientD;
std::istringstream in(out.str());
std::string wholePart;
std::getline(in, wholePart, '.');
diff --git a/src/qt/res/icons/Icon.svg b/src/qt/res/icons/Icon.svg
new file mode 100644
index 000000000..ea51a02c4
--- /dev/null
+++ b/src/qt/res/icons/Icon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/qt/res/icons/logo.svg b/src/qt/res/icons/logo.svg
new file mode 100644
index 000000000..b043e1265
--- /dev/null
+++ b/src/qt/res/icons/logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file