Edit configuration file from within wallet

This commit is contained in:
crowning- 2015-02-15 14:31:51 +01:00
parent 1264546def
commit dc3f49bad7

View File

@ -374,6 +374,15 @@ void openDebugLogfile()
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug))); QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug)));
} }
void openConfigfile()
{
boost::filesystem::path pathConfig = GetConfigFile();
/* Open darkcoin.conf with the associated application */
if (boost::filesystem::exists(pathConfig))
QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
}
ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) : ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) :
QObject(parent), size_threshold(size_threshold) QObject(parent), size_threshold(size_threshold)
{ {