gtk_window_set_title(GTK_WINDOW(dialog), title.c_str());
std::string icon_path(PACKAGE".png");
- if (resource::find_path(icon_path))
+ if (resource::find(icon_path))
{
GdkPixbuf* iconPixbuf = gdk_pixbuf_new_from_file(icon_path.c_str(),
NULL);
dialog.setStandardButtons(QMessageBox::Close);
std::string icon_path(PACKAGE".png");
- if (resource::find_path(icon_path))
+ if (resource::find(icon_path))
{
QIcon icon(icon_path.c_str());
dialog.setWindowIcon(icon);