Give the user an error message

At least he'll understand why everything looks so bad
remotes/origin/KDE/4.9
Albert Astals Cid 14 years ago
parent 50b9424577
commit daec8b5411
  1. 4
      shell/shell.cpp

@ -109,6 +109,10 @@ void Shell::init()
if (m_openUrl.isValid()) QTimer::singleShot(0, this, SLOT(delayedOpen())); if (m_openUrl.isValid()) QTimer::singleShot(0, this, SLOT(delayedOpen()));
} }
else
{
KMessageBox::error(this, i18n("Unable to find the Okular component."));
}
} }
void Shell::delayedOpen() void Shell::delayedOpen()

Loading…
Cancel
Save