Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Don't show error message on customprofiles.xml if file does not exist

svn path=/branches/KDE4/; revision=2420
parent 3d504065
......@@ -388,7 +388,7 @@ void RenderWidget::parseProfiles(QString group, QString profile) {
QString exportFile = KStandardDirs::locate("appdata", "export/profiles.xml");
parseFile(exportFile, false);
exportFile = KStandardDirs::locateLocal("appdata", "export/customprofiles.xml");
parseFile(exportFile, true);
if (QFile::exists(exportFile)) parseFile(exportFile, true);
refreshView();
QList<QListWidgetItem *> child;
child = m_view.format_list->findItems(group, Qt::MatchExactly);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment