inline KDE_EXPORT uint qHash(const Folder::FlatFont &key)
{
- return qHash(key.file) + key.scalable;
+ return qHash(key.file); // +qHash(key.index());
}
}
#include <QtGui/QApplication>
#include <QtGui/QDesktopWidget>
#include <QtCore/QProcess>
+#if defined USE_POLICYKIT && USE_POLICYKIT==1
+#include <QtDBus/QDBusInterface>
+#endif
namespace KFI
{
inline KDE_EXPORT uint qHash(const File &key)
{
- return qHash(key.path()) + qHash(key.foundry());
+ return qHash(key.path()); // +qHash(key.index());
}
}
inline KDE_EXPORT uint qHash(const Style &key)
{
- return key.value() + uint(key.scalable());
+ return key.value();
}
}