From d77f90c588d04aed902e67a259e65017bfe1fd10 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 5 Aug 2018 09:27:37 +0000 Subject: removed useless code git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8231 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/detailsdialog.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/qmmpui/detailsdialog.cpp b/src/qmmpui/detailsdialog.cpp index 6c74277ce..ed2fdc4de 100644 --- a/src/qmmpui/detailsdialog.cpp +++ b/src/qmmpui/detailsdialog.cpp @@ -72,11 +72,8 @@ void DetailsDialog:: on_directoryButton_clicked() } else return; -#ifdef QMMP_WS_X11 - QProcess::execute("xdg-open", QStringList() << dir_path); //works with lxde -#else + QDesktopServices::openUrl(QUrl::fromLocalFile(dir_path)); -#endif } void DetailsDialog::on_buttonBox_clicked(QAbstractButton *button) -- cgit v1.2.3-13-gbd6f