diff --git a/src/translations/en.po b/src/translations/en.po index 23168b202..bf5b07f6c 100644 --- a/src/translations/en.po +++ b/src/translations/en.po @@ -1112,6 +1112,9 @@ msgstr "" msgid "Encoding mode" msgstr "" +msgid "Enter a URL to download a cover from the Internet:" +msgstr "" + msgid "Enter a new name for this playlist" msgstr "" @@ -1119,9 +1122,6 @@ msgid "" "Enter an artist or tag to start listening to Last.fm radio." msgstr "" -msgid "Enter an URL to download a cover from the Internet:" -msgstr "" - msgid "Enter search terms here" msgstr "" diff --git a/src/translations/translations.pot b/src/translations/translations.pot index 04dfedddd..39d804106 100644 --- a/src/translations/translations.pot +++ b/src/translations/translations.pot @@ -1102,6 +1102,9 @@ msgstr "" msgid "Encoding mode" msgstr "" +msgid "Enter a URL to download a cover from the Internet:" +msgstr "" + msgid "Enter a new name for this playlist" msgstr "" @@ -1109,9 +1112,6 @@ msgid "" "Enter an artist or tag to start listening to Last.fm radio." msgstr "" -msgid "Enter an URL to download a cover from the Internet:" -msgstr "" - msgid "Enter search terms here" msgstr "" diff --git a/src/ui/coverfromurldialog.cpp b/src/ui/coverfromurldialog.cpp index 6f0ac47ad..a96508121 100644 --- a/src/ui/coverfromurldialog.cpp +++ b/src/ui/coverfromurldialog.cpp @@ -20,6 +20,8 @@ #include "core/network.h" #include "covers/albumcoverloader.h" +#include +#include #include #include #include @@ -43,6 +45,9 @@ QImage CoverFromURLDialog::Exec() { ui_->url->setText("");; last_image_ = QImage(); + QClipboard* clipboard = QApplication::clipboard(); + ui_->url->setText(clipboard->text()); + exec(); return last_image_; } diff --git a/src/ui/coverfromurldialog.ui b/src/ui/coverfromurldialog.ui index b6f4be0d9..22db7af31 100644 --- a/src/ui/coverfromurldialog.ui +++ b/src/ui/coverfromurldialog.ui @@ -29,7 +29,7 @@ - Enter an URL to download a cover from the Internet: + Enter a URL to download a cover from the Internet: