Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Автоматическое создание novacoin.conf + кнопка для открытия novacoin.conf в Qt версии кошелька #144

Merged
merged 1 commit into from
Feb 7, 2015

Conversation

fsb4000
Copy link
Contributor

@fsb4000 fsb4000 commented Feb 7, 2015

Реализовано улучшение: #143
Выглядит так:
novacoin.conf
Похоже на jl777/btcd@be2f732

CryptoManiac added a commit that referenced this pull request Feb 7, 2015
Автоматическое создание novacoin.conf + кнопка для открытия novacoin.conf в Qt версии кошелька
@CryptoManiac CryptoManiac merged commit 26ef9aa into novacoin-project:master Feb 7, 2015
@fsb4000 fsb4000 deleted the Novacoin.conf branch February 8, 2015 14:47
@CryptoManiac
Copy link
Contributor

Поломалась совместимость со старым бустом (1.48):

util.cpp: In function 'void createConf()':
util.cpp:1160: error: 'struct boost::filesystem::path' has no member named 'generic_string'

В принципе, несущественно.

@fsb4000
Copy link
Contributor Author

fsb4000 commented Mar 2, 2015

Можно заменить generic_string на string. Проверил на Windows 7, файл создаётся.
Вот тут(http://stackoverflow.com/questions/26178714/what-is-the-difference-between-pathstring-and-pathgeneric-string-in-boos) написана разница:

boost::path::string
Returns a std::string in the native pathname format.
boost::path::generic_string
Returns a std::string in the generic pathname format.

On Windows, native format has backslashes and generic format has slashes;
On Linux, both formats have slashes.

string = c:\test\myfile.txt
generic string = c:/test/myfile.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants