diff options
Diffstat (limited to 'src/findsubtitles/findsubtitleswindow.cpp')
-rw-r--r-- | src/findsubtitles/findsubtitleswindow.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/findsubtitles/findsubtitleswindow.cpp b/src/findsubtitles/findsubtitleswindow.cpp index f1cd5b5..6d1d2c7 100644 --- a/src/findsubtitles/findsubtitleswindow.cpp +++ b/src/findsubtitles/findsubtitleswindow.cpp @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2009 Ricardo Villalba <rvm@escomposlinux.org> + Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -42,6 +42,12 @@ #include <QBuffer> #endif +//#define NO_SMPLAYER_SUPPORT + +#ifndef NO_SMPLAYER_SUPPORT +#include "images.h" +#endif + #define COL_LANG 0 #define COL_NAME 1 #define COL_FORMAT 2 @@ -212,6 +218,16 @@ void FindSubtitlesWindow::retranslateStrings() { // Actions downloadAct->setText( tr("&Download") ); copyLinkAct->setText( tr("&Copy link to clipboard") ); + + // Icons +#ifndef NO_SMPLAYER_SUPPORT + download_button->setIcon( Images::icon("download") ); + configure_button->setIcon( Images::icon("prefs") ); + refresh_button->setIcon( Images::icon("refresh") ); + + downloadAct->setIcon( Images::icon("download") ); + copyLinkAct->setIcon( Images::icon("copy") ); +#endif } void FindSubtitlesWindow::setMovie(QString filename) { |