Commit 243349c7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix typo (I was tired when I wrote this function name :) )

parent 49e5c95f
......@@ -1148,7 +1148,7 @@ KMCommand::Result KMPrintCommand::execute()
if ( mAttachmentStrategy != 0 )
printerWin->setAttachmentStrategy( mAttachmentStrategy );
if(mPrintPreview)
printerWin->viewer()->printPreviousMessage( retrievedMessage() );
printerWin->viewer()->printPreviewMessage( retrievedMessage() );
else
printerWin->viewer()->printMessage(retrievedMessage());
return OK;
......
......@@ -127,10 +127,10 @@ void Viewer::printMessage( const Akonadi::Item &msg )
d->printMessage( msg );
}
void Viewer::printPreviousMessage( const Akonadi::Item &message )
void Viewer::printPreviewMessage( const Akonadi::Item &message )
{
Q_D( Viewer );
d->printPreviousMessage( message );
d->printPreviewMessage( message );
}
void Viewer::printPreview()
......
......@@ -186,7 +186,7 @@ class MESSAGEVIEWER_EXPORT Viewer: public QWidget
*/
void printMessage( const Akonadi::Item &msg );
void printPreviousMessage( const Akonadi::Item &message );
void printPreviewMessage( const Akonadi::Item &message );
/** Print the currently displayed message */
void print();
......
......@@ -1255,7 +1255,7 @@ void ViewerPrivate::printMessage( const Akonadi::Item &message )
#endif
}
void ViewerPrivate::printPreviousMessage( const Akonadi::Item &message )
void ViewerPrivate::printPreviewMessage( const Akonadi::Item &message )
{
// wince does not support printing
#ifndef Q_OS_WINCE
......
......@@ -321,7 +321,7 @@ public:
/** Print message. */
void printMessage( const Akonadi::Item &msg );
void printPreviousMessage( const Akonadi::Item &message );
void printPreviewMessage( const Akonadi::Item &message );
void resetStateForNewMessage();
......
Supports Markdown
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