Cross-platform "Open debug logfile"

The option to open the debug logfile from the debug window was implemented only for
windows. By using `QDesktopServices::openUrl` it now works on any platform.
This commit is contained in:
Wladimir J. van der Laan
2012-06-12 16:35:19 +02:00
parent b6ef8d5a40
commit 9b1732baae
2 changed files with 2 additions and 10 deletions

View File

@@ -114,12 +114,6 @@ RPCConsole::RPCConsole(QWidget *parent) :
ui->showCLOptionsButton->setIcon(QIcon(":/icons/options"));
#endif
#ifndef WIN32
// Hide Debug logfile label and Open button for non Windows-OSes
ui->labelDebugLogfile->setVisible(false);
ui->openDebugLogfileButton->setVisible(false);
#endif
// Install event filter for up and down arrow
ui->lineEdit->installEventFilter(this);