aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/detailsdialog.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-08-05 09:27:37 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-08-05 09:27:37 +0000
commitd77f90c588d04aed902e67a259e65017bfe1fd10 (patch)
treea3f17d5223859eb5c277ab6f79df615a7baaa9b1 /src/qmmpui/detailsdialog.cpp
parent5549fa67bbfdc1bfe4708d4bef97d13b2e795c1b (diff)
downloadqmmp-d77f90c588d04aed902e67a259e65017bfe1fd10.tar.gz
qmmp-d77f90c588d04aed902e67a259e65017bfe1fd10.tar.bz2
qmmp-d77f90c588d04aed902e67a259e65017bfe1fd10.zip
removed useless code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8231 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/detailsdialog.cpp')
-rw-r--r--src/qmmpui/detailsdialog.cpp5
1 files changed, 1 insertions, 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)