From kde-commits Sun Aug 14 14:05:36 2016 From: Tobias Leupold Date: Sun, 14 Aug 2016 14:05:36 +0000 To: kde-commits Subject: [kphotoalbum] /: Added appropriate Breeze icons get get a more uniform KF5-ish look. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=147118355113637 Git commit 272962d8bc1bcee2a21df0cbebe0afe12451f828 by Tobias Leupold. Committed on 14/08/2016 at 14:05. Pushed by tleupold into branch 'master'. Added appropriate Breeze icons get get a more uniform KF5-ish look. M +3 -3 Browser/OverviewPage.cpp M +2 -2 XMLDB/FileReader.cpp http://commits.kde.org/kphotoalbum/272962d8bc1bcee2a21df0cbebe0afe12451f828 diff --git a/Browser/OverviewPage.cpp b/Browser/OverviewPage.cpp index dd440f1..859a334 100644 --- a/Browser/OverviewPage.cpp +++ b/Browser/OverviewPage.cpp @@ -133,7 +133,7 @@ QVariant Browser::OverviewPage::exivInfo( int role ) co= nst if ( role =3D=3D Qt::DisplayRole ) return i18n("Exif Info"); else if ( role =3D=3D Qt::DecorationRole ) { - return KIcon( QString::fromLatin1( "text-plain" ) ).pixmap(THUMBNA= ILSIZE); + return KIcon(QString::fromLatin1("document-properties")).pixmap(TH= UMBNAILSIZE); } = return QVariant(); @@ -153,7 +153,7 @@ QVariant Browser::OverviewPage::untaggedImagesInfo( int= role ) const if ( role =3D=3D Qt::DisplayRole ) return i18n("Untagged Images"); else if ( role =3D=3D Qt::DecorationRole ) - return KIcon( QString::fromLatin1( "button_ok" ) ).pixmap(THUMBNAI= LSIZE); + return KIcon(QString::fromUtf8("archive-insert")).pixmap(THUMBNAIL= SIZE); return QVariant(); = } @@ -163,7 +163,7 @@ QVariant Browser::OverviewPage::imageInfo( int role ) c= onst if ( role =3D=3D Qt::DisplayRole ) return i18n("Show Thumbnails"); else if ( role =3D=3D Qt::DecorationRole ) - return KIcon( QString::fromLatin1( "kphotoalbum" ) ).pixmap(THUMBN= AILSIZE); + return KIcon(QString::fromUtf8("view-preview")).pixmap(THUMBNAILSI= ZE); return QVariant(); } = diff --git a/XMLDB/FileReader.cpp b/XMLDB/FileReader.cpp index b7e5a27..47a5c86 100644 --- a/XMLDB/FileReader.cpp +++ b/XMLDB/FileReader.cpp @@ -117,7 +117,7 @@ void XMLDB::FileReader::createSpecialCategories() = if (! tokenCat) { // Create a new "Tokens" category - tokenCat =3D new XMLCategory(i18n("Tokens"), QString::fromUtf8("fl= ag-blue"), + tokenCat =3D new XMLCategory(i18n("Tokens"), QString::fromUtf8("ta= g"), DB::Category::TreeView, 32, true); tokenCat->setType(DB::Category::TokensCategory); m_db->m_categoryCollection.addCategory(tokenCat); @@ -131,7 +131,7 @@ void XMLDB::FileReader::createSpecialCategories() = // Setup the "Media Type" category DB::CategoryPtr mediaCat; - mediaCat =3D new XMLCategory(i18n("Media Type"), QString::fromLatin1("= video-x-generic"), + mediaCat =3D new XMLCategory(i18n("Media Type"), QString::fromLatin1("= view-categories"), DB::Category::TreeView, 32, false); mediaCat->addItem( i18n( "Image" ) ); mediaCat->addItem( i18n( "Video" ) );