Commit c56143a5 authored by Mehrdad Momeny's avatar Mehrdad Momeny

SVN_SILENT Indentation fix

svn path=/trunk/KDE/kdepim/blogilo/; revision=1076448
parent 836a6e6f
......@@ -652,13 +652,12 @@ void MainWindow::uploadMediaObject()
void MainWindow::slotOpenCurrentBlogInBrowser()
{
if (mCurrentBlogId > -1)
{
KUrl url( DBMan::self()->blog( mCurrentBlogId ).blogUrl() );
if(url.isValid())
KToolInvocation::invokeBrowser(url.url());
else
KMessageBox::sorry(this, i18n("Cannot find current blog URL."));
if (mCurrentBlogId > -1) {
KUrl url( DBMan::self()->blog( mCurrentBlogId ).blogUrl() );
if(url.isValid())
KToolInvocation::invokeBrowser(url.url());
else
KMessageBox::sorry(this, i18n("Cannot find current blog URL."));
}
///TODO
///else show a massege to the user saying that a blog should be selected before.
......
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