Logo Search packages:      
Sourcecode: qsource-highlight version File versions  Download package

bool QSourceHighlight::checkSourceHighlightSettings (  ) [private]

Checks that source-highlight settings are correct, otherwise open the setting dialog.

whether settings are ok

Definition at line 487 of file qsource-highlight.cpp.

Referenced by reloadComboBoxes().

    if (!srchilite::Settings::checkSettings()) {
        QMessageBox::critical(this, tr("QSource-Highlight"),
                              tr("Source-highlight settings are wrong!\n"
                                 "Please configure it correctly\n"
                                 "otherwise the application may be come unstable"));
        return false;

    return true;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index