mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kiconfinder: remove unused kapplication header inclusion
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
7a2e7e8b73
commit
76a3183199
1 changed files with 1 additions and 2 deletions
|
@ -23,7 +23,6 @@
|
||||||
#include <kiconloader.h>
|
#include <kiconloader.h>
|
||||||
#include <kdeversion.h>
|
#include <kdeversion.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
#include <kapplication.h>
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -87,7 +86,7 @@ int main(int argc, char *argv[])
|
||||||
const QString icon = KIconLoader::global()->iconPath(iconName, iconGroup, true);
|
const QString icon = KIconLoader::global()->iconPath(iconName, iconGroup, true);
|
||||||
if (!icon.isEmpty()) {
|
if (!icon.isEmpty()) {
|
||||||
const QByteArray iconBytes = icon.toLatin1();
|
const QByteArray iconBytes = icon.toLatin1();
|
||||||
printf("%s\n", iconBytes.constData());
|
::printf("%s\n", iconBytes.constData());
|
||||||
} else {
|
} else {
|
||||||
const QByteArray iconNameBytes = iconName.toLatin1();
|
const QByteArray iconNameBytes = iconName.toLatin1();
|
||||||
std::cerr << "Icon '" << iconNameBytes.constData() << "' not found" << std::endl;
|
std::cerr << "Icon '" << iconNameBytes.constData() << "' not found" << std::endl;
|
||||||
|
|
Loading…
Add table
Reference in a new issue