mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +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 <kdeversion.h>
|
||||
#include <klocale.h>
|
||||
#include <kapplication.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
|
@ -87,7 +86,7 @@ int main(int argc, char *argv[])
|
|||
const QString icon = KIconLoader::global()->iconPath(iconName, iconGroup, true);
|
||||
if (!icon.isEmpty()) {
|
||||
const QByteArray iconBytes = icon.toLatin1();
|
||||
printf("%s\n", iconBytes.constData());
|
||||
::printf("%s\n", iconBytes.constData());
|
||||
} else {
|
||||
const QByteArray iconNameBytes = iconName.toLatin1();
|
||||
std::cerr << "Icon '" << iconNameBytes.constData() << "' not found" << std::endl;
|
||||
|
|
Loading…
Add table
Reference in a new issue