diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-05-26 03:37:26 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-05-26 03:37:26 (GMT) |
commit | 31c88a434b3201d88819b485f74da843c2728cb2 (patch) | |
tree | 6fc7bffe22a7b685aa2cf18143796ace29d4fb8b /src/mainwin.cc | |
parent | 164902fa76efac9f88bbd9aa6cbd1eb8c3fa00fb (diff) |
merge branch to get windows "library path" working. tweak build system,
eliminate several compiler warnings.
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 9b490c7..f370f3d 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -955,7 +955,9 @@ void MainWindow::actionSaveAs() void MainWindow::actionShowLibraryFolder() { - QDesktopServices::openUrl(QUrl::fromLocalFile(QString::fromStdString(PlatformUtils::libraryPath()))); + QString url = QString::fromStdString(PlatformUtils::libraryPath()); + PRINTB("Opening file browser for %s", url.toStdString() ); + QDesktopServices::openUrl(QUrl::fromLocalFile( url )); } void MainWindow::actionReload() |