diff --git a/README.md b/README.md index f20229e..c0fe025 100644 --- a/README.md +++ b/README.md @@ -10,14 +10,14 @@ Head over to the releases page and grab the latest installers or binary. https:/ If you are on Debian/Ubuntu, please download the `.deb` package and install it. ``` -sudo dpkg -i linux-deb-zec-qt-wallet-v0.6.0.deb +sudo dpkg -i linux-deb-zec-qt-wallet-v0.6.1.deb sudo apt install -f ``` Or you can download and run the binaries directly. ``` -tar -xvf zec-qt-wallet-v0.6.0.tar.gz -./zec-qt-wallet-v0.6.0/zec-qt-wallet +tar -xvf zec-qt-wallet-v0.6.1.tar.gz +./zec-qt-wallet-v0.6.1/zec-qt-wallet ``` ### Windows diff --git a/res/zec_qt_wallet_it.qm b/res/zec_qt_wallet_it.qm new file mode 100644 index 0000000..92e2ffb Binary files /dev/null and b/res/zec_qt_wallet_it.qm differ diff --git a/src/main.cpp b/src/main.cpp index e07d60a..a9827b7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -37,8 +37,6 @@ private: #else -#include - #endif //!_WIN32 // There can be only ONE SignalHandler per process @@ -46,11 +44,6 @@ SignalHandler* g_handler(NULL); #ifdef _WIN32 -BOOL WINAPI WIN32_handleFunc(DWORD); -int WIN32_physicalToLogical(DWORD); -DWORD WIN32_logicalToPhysical(int); -std::set g_registry; - #else //_WIN32 void POSIX_handleFunc(int); @@ -65,7 +58,7 @@ SignalHandler::SignalHandler(int mask) : _mask(mask) g_handler = this; #ifdef _WIN32 - SetConsoleCtrlHandler(WIN32_handleFunc, TRUE); + #endif //_WIN32 for (int i=0;i::const_iterator found = g_registry.find(signo); - if (signo != -1 && found != g_registry.end()) - { - return g_handler->handleSignal(signo) ? TRUE : FALSE; - } - else - { - return FALSE; - } - } - else - { - return FALSE; - } -} #else void POSIX_handleFunc(int signal) { diff --git a/src/rpc.cpp b/src/rpc.cpp index db1740c..b20f078 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -1122,7 +1122,10 @@ void RPC::shutdownZcashd() { } else { while (waiter.isActive()) { QCoreApplication::processEvents(); +#ifdef _WIN32 +#else std::this_thread::sleep_for(std::chrono::seconds(1)); +#endif } } } diff --git a/src/version.h b/src/version.h index 789b770..0c11a4d 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define APP_VERSION "0.6.0" +#define APP_VERSION "0.6.1"