diff options
| author | 2007-01-30 12:07:49 +0000 | |
|---|---|---|
| committer | 2007-01-30 12:07:49 +0000 | |
| commit | d3e83447475df2864d9cb304f32c1bb5ab3b0970 (patch) | |
| tree | 11bb62c5e7a216e6dc6ec8556e16a0660f6c6151 /src/modules/theme/libkvitheme.cpp | |
| parent | fixes for logging and regusers (diff) | |
| download | KVIrc-d3e83447475df2864d9cb304f32c1bb5ab3b0970.tar.gz KVIrc-d3e83447475df2864d9cb304f32c1bb5ab3b0970.tar.bz2 KVIrc-d3e83447475df2864d9cb304f32c1bb5ab3b0970.zip | |
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
Diffstat (limited to 'src/modules/theme/libkvitheme.cpp')
| -rw-r--r-- | src/modules/theme/libkvitheme.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <qfileinfo.h> + 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)) |
