Changeset 663


Ignore:
Timestamp:
Mar 9, 2010, 12:27:17 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

tools: linguist: Even more QT_NO_PRINTER.

Location:
trunk/tools/linguist/linguist
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/linguist/linguist/mainwindow.cpp

    r662 r663  
    259259    : QMainWindow(0, Qt::Window),
    260260      m_assistantProcess(0),
     261
    261262      m_printer(0),
     263
    262264      m_findMatchCase(Qt::CaseInsensitive),
    263265      m_findIgnoreAccelerators(true),
     
    883885}
    884886
     887
    885888QPrinter *MainWindow::printer()
    886889{
    887 #ifndef QT_NO_PRINTER
    888890    if (!m_printer)
    889891        m_printer = new QPrinter;
     892
     893
    890894#endif
    891     return m_printer;
    892 }
    893895
    894896void MainWindow::print()
  • trunk/tools/linguist/linguist/mainwindow.h

    r651 r663  
    202202    void saveInternal(int model);
    203203
     204
    204205    QPrinter *printer();
     206
    205207
    206208    // FIXME: move to DataModel
Note: See TracChangeset for help on using the changeset viewer.