From d3e83447475df2864d9cb304f32c1bb5ab3b0970 Mon Sep 17 00:00:00 2001 From: Alexey Uzhva Date: Tue, 30 Jan 2007 12:07:49 +0000 Subject: Introduced option using identd only on connect, some fixes around git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@283 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/theme/libkvitheme.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modules/theme/libkvitheme.cpp') diff --git a/src/modules/theme/libkvitheme.cpp b/src/modules/theme/libkvitheme.cpp index 6c2c570e1..54f1359f6 100644 --- a/src/modules/theme/libkvitheme.cpp +++ b/src/modules/theme/libkvitheme.cpp @@ -40,6 +40,8 @@ #include "managementdialog.h" #include "themefunctions.h" +#include + QRect g_rectManagementDialogGeometry(0,0,0,0); @@ -114,6 +116,8 @@ static bool theme_kvs_cmd_screenshot(KviKvsModuleCommandCall * c) if(szFileName.isEmpty())return true; // done KviFileUtils::adjustFilePath(szFileName); + if(QFileInfo(szFileName).extension(false)!="png") + szFileName+=".png"; QString szError; if(!KviThemeFunctions::makeKVIrcScreenshot(szFileName)) -- cgit v1.3.1-10-gc9f91